Show / Hide Table of Contents

Class CfnLocationObjectStorage.CmkSecretConfigProperty

Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .

Inheritance
object
CfnLocationObjectStorage.CmkSecretConfigProperty
Implements
CfnLocationObjectStorage.ICmkSecretConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocationObjectStorage.CmkSecretConfigProperty : CfnLocationObjectStorage.ICmkSecretConfigProperty
Syntax (vb)
Public Class CfnLocationObjectStorage.CmkSecretConfigProperty Implements CfnLocationObjectStorage.ICmkSecretConfigProperty
Remarks
You can use either <code>CmkSecretConfig</code> or <code>CustomSecretConfig</code> to provide credentials for a <code>CreateLocation</code> request. Do not provide both parameters for the same request.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationobjectstorage-cmksecretconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.DataSync;

             var cmkSecretConfigProperty = new CmkSecretConfigProperty {
                 KmsKeyArn = "kmsKeyArn",
                 SecretArn = "secretArn"
             };

Synopsis

Constructors

CmkSecretConfigProperty()

Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .

Properties

KmsKeyArn

Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn .

SecretArn

Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.

Constructors

CmkSecretConfigProperty()

Specifies configuration information for a DataSync-managed secret, such as an authentication token, secret key, password, or Kerberos keytab that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .

public CmkSecretConfigProperty()
Remarks
You can use either <code>CmkSecretConfig</code> or <code>CustomSecretConfig</code> to provide credentials for a <code>CreateLocation</code> request. Do not provide both parameters for the same request.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationobjectstorage-cmksecretconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.DataSync;

             var cmkSecretConfigProperty = new CmkSecretConfigProperty {
                 KmsKeyArn = "kmsKeyArn",
                 SecretArn = "secretArn"
             };

Properties

KmsKeyArn

Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn .

public string? KmsKeyArn { get; set; }
Property Value

string

Remarks

DataSync provides this key to AWS Secrets Manager .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationobjectstorage-cmksecretconfig.html#cfn-datasync-locationobjectstorage-cmksecretconfig-kmskeyarn

SecretArn

Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.

public string? SecretArn { get; set; }
Property Value

string

Remarks

This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationobjectstorage-cmksecretconfig.html#cfn-datasync-locationobjectstorage-cmksecretconfig-secretarn

Implements

CfnLocationObjectStorage.ICmkSecretConfigProperty
Back to top Generated by DocFX