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).
Implements
Inherited Members
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.
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 | 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.
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
Remarks
SecretArn
Specifies the ARN for an AWS Secrets Manager secret.
public string SecretArn { get; set; }