interface CustomSecretConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DataSync.CfnLocationAzureBlob.CustomSecretConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnLocationAzureBlob_CustomSecretConfigProperty |
![]() | software.amazon.awscdk.services.datasync.CfnLocationAzureBlob.CustomSecretConfigProperty |
![]() | aws_cdk.aws_datasync.CfnLocationAzureBlob.CustomSecretConfigProperty |
![]() | aws-cdk-lib » aws_datasync » CfnLocationAzureBlob » CustomSecretConfigProperty |
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.
You can use either
CmkSecretConfig
orCustomSecretConfig
to provide credentials for aCreateLocation
request. Do not provide both parameters for the same request.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const customSecretConfigProperty: datasync.CfnLocationAzureBlob.CustomSecretConfigProperty = {
secretAccessRoleArn: 'secretAccessRoleArn',
secretArn: 'secretArn',
};
Properties
Name | Type | Description |
---|---|---|
secret | string | Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn . |
secret | string | Specifies the ARN for an AWS Secrets Manager secret. |
secretAccessRoleArn
Type:
string
Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn
.
secretArn
Type:
string
Specifies the ARN for an AWS Secrets Manager secret.