Show / Hide Table of Contents

Class CfnLocationAzureBlob.CustomSecretConfigProperty

Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).

Inheritance
object
CfnLocationAzureBlob.CustomSecretConfigProperty
Implements
CfnLocationAzureBlob.ICustomSecretConfigProperty
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 CfnLocationAzureBlob.CustomSecretConfigProperty : CfnLocationAzureBlob.ICustomSecretConfigProperty
Syntax (vb)
Public Class CfnLocationAzureBlob.CustomSecretConfigProperty Implements CfnLocationAzureBlob.ICustomSecretConfigProperty
Remarks

This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.

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-locationazureblob-customsecretconfig.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 customSecretConfigProperty = new CustomSecretConfigProperty {
                 SecretAccessRoleArn = "secretAccessRoleArn",
                 SecretArn = "secretArn"
             };

Synopsis

Constructors

CustomSecretConfigProperty()

Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).

Properties

SecretAccessRoleArn

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

SecretArn

Specifies the ARN for an AWS Secrets Manager secret.

Constructors

CustomSecretConfigProperty()

Specifies configuration information for a customer-managed Secrets Manager secret where a storage location credentials is stored in Secrets Manager as plain text (for authentication token, secret key, or password) or as binary (for Kerberos keytab).

public CustomSecretConfigProperty()
Remarks

This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.

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-locationazureblob-customsecretconfig.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 customSecretConfigProperty = new CustomSecretConfigProperty {
                 SecretAccessRoleArn = "secretAccessRoleArn",
                 SecretArn = "secretArn"
             };

Properties

SecretAccessRoleArn

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

public string SecretAccessRoleArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationazureblob-customsecretconfig.html#cfn-datasync-locationazureblob-customsecretconfig-secretaccessrolearn

SecretArn

Specifies the ARN for an AWS Secrets Manager secret.

public string SecretArn { get; set; }
Property Value

string

Remarks

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

Implements

CfnLocationAzureBlob.ICustomSecretConfigProperty
Back to top Generated by DocFX