Class: Aws::CredentialBrokerControl::Types::ApiKeySecretOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb

Overview

Where the provider's API key is stored. Reports the ARN of the AWS Secrets Manager secret holding it and whether that secret is service-owned or yours, never the key itself.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_secret_arn ⇒ String

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.

Returns:

  • (String)


125
126
127
128
129
130
131
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 125

class ApiKeySecretOutput < Struct.new(
  :api_key_secret_arn,
  :api_key_secret_source,
  :api_key_secret_json_key)
  SENSITIVE = []
  include Aws::Structure
end

#api_key_secret_json_key ⇒ String

The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.

Returns:

  • (String)


125
126
127
128
129
130
131
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 125

class ApiKeySecretOutput < Struct.new(
  :api_key_secret_arn,
  :api_key_secret_source,
  :api_key_secret_json_key)
  SENSITIVE = []
  include Aws::Structure
end

#api_key_secret_source ⇒ String

Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).

Returns:

  • (String)


125
126
127
128
129
130
131
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 125

class ApiKeySecretOutput < Struct.new(
  :api_key_secret_arn,
  :api_key_secret_source,
  :api_key_secret_json_key)
  SENSITIVE = []
  include Aws::Structure
end