This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CredentialBroker::CredentialProvider ApiKeySecretOutput
Where the provider's API key is stored. Reports the ARN of the Amazon Secrets Manager secret holding it and whether that secret is service-owned or yours, never the key itself.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "ApiKeySecretArn" :String, "ApiKeySecretJsonKey" :String, "ApiKeySecretSource" :String}
YAML
ApiKeySecretArn:StringApiKeySecretJsonKey:StringApiKeySecretSource:String
Properties
ApiKeySecretArn-
The Amazon Resource Name (ARN) of the Amazon Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.
Required: Yes
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-_/+=.@!]+$Update requires: No interruption
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.
Required: No
Type: String
Minimum:
1Maximum:
128Update requires: No interruption
ApiKeySecretSource-
Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in Amazon Secrets Manager that the service reads (EXTERNAL).
Required: Yes
Type: String
Allowed values:
MANAGED | EXTERNALUpdate requires: No interruption