ApiKeySecretOutput
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.
Contents
- apiKeySecretArn
-
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.
Type: String
Pattern:
arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+Required: Yes
- apiKeySecretSource
-
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).
Type: String
Valid Values:
MANAGED | EXTERNALRequired: Yes
- apiKeySecretJsonKey
-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: