AWS::DataSync::LocationAzureBlob CustomSecretConfig - 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::DataSync::LocationAzureBlob CustomSecretConfig

Specifies configuration information for a customer-managed Secrets Manager secret where a storage location authentication token or secret key is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.

Note

You can use either CmkSecretConfig or CustomSecretConfig to provide credentials for a CreateLocation request. Do not provide both parameters for the same request.

Syntax

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

JSON

{ "SecretAccessRoleArn" : String, "SecretArn" : String }

YAML

SecretAccessRoleArn: String SecretArn: String

Properties

SecretAccessRoleArn

Specifies the ARN for the Amazon Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.

Required: Yes

Type: String

Pattern: ^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*|)$

Maximum: 2048

Update requires: No interruption

SecretArn

Specifies the ARN for an Amazon Secrets Manager secret.

Required: Yes

Type: String

Pattern: ^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z-0-9]+:[0-9]{12}:secret:.*|)$

Maximum: 2048

Update requires: No interruption