View a markdown version of this page

AWS::CredentialBroker::CredentialProvider SecretReference - 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 SecretReference

A reference to a credential held in a Secrets Manager secret that you own and manage. Use this instead of supplying the credential directly, so the value stays in your own secret.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "JsonKey" : String, "SecretId" : String }

YAML

JsonKey: String SecretId: String

Properties

JsonKey

Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

SecretId

Name or Amazon Resource Name of a secret in Amazon Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.

Required: Yes

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption