Skip to content
v2.275.0

CmkSecretConfigProperty Struct ​

Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.

Example ​

ts
// 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 cmkSecretConfigProperty: datasync.CfnLocationHDFS.CmkSecretConfigProperty = {
  kmsKeyArn: 'kmsKeyArn',
  secretArn: 'secretArn',
};

Properties ​

kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string#
Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn.

DataSync provides this key to AWS Secrets Manager.

secretArnoptionalstringsecret_arnoptionalstrsecretArnoptionalStringSecretArnoptionalstringSecretArnoptional*string#
Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.