interface CmkSecretConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DataSync.Mixins.CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdatasync/mixins#CfnLocationAzureBlobPropsMixin_CmkSecretConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty |
Python | aws_cdk.mixins_preview.aws_datasync.mixins.CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_datasync » mixins » CfnLocationAzureBlobPropsMixin » CmkSecretConfigProperty |
Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .
You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. 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 { mixins as datasync_mixins } from '@aws-cdk/mixins-preview/aws-datasync';
const cmkSecretConfigProperty: datasync_mixins.CfnLocationAzureBlobPropsMixin.CmkSecretConfigProperty = {
kmsKeyArn: 'kmsKeyArn',
secretArn: 'secretArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| kms | string | Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn . |
| secret | string | Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location. |
kmsKeyArn?
Type:
string
(optional)
Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn .
DataSync provides this key to AWS Secrets Manager .
secretArn?
Type:
string
(optional)
Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.
This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn .

.NET
Go
Java
Python
TypeScript