View a markdown version of this page

AWS::CredentialBroker::CredentialProvider ApiKeySecretOutput - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 }

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: 1

Maximum: 128

Update 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 | EXTERNAL

Update requires: No interruption