Interface CfnDBCluster.IMasterUserSecretProperty
The MasterUserSecret
return value specifies the secret managed by RDS in AWS Secrets Manager for the master user password.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMasterUserSecretProperty
Syntax (vb)
Public Interface IMasterUserSecretProperty
Remarks
For more information, see Password management with AWS Secrets Manager in the Amazon RDS User Guide and Password management with AWS Secrets Manager in the Amazon Aurora User Guide.
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.RDS;
var masterUserSecretProperty = new MasterUserSecretProperty {
KmsKeyId = "kmsKeyId",
SecretArn = "secretArn"
};
Synopsis
Properties
Kms |
The AWS KMS key identifier that is used to encrypt the secret. |
Secret |
The Amazon Resource Name (ARN) of the secret. |
Properties
KmsKeyId
The AWS KMS key identifier that is used to encrypt the secret.
virtual string KmsKeyId { get; }
Property Value
System.
Remarks
SecretArn
The Amazon Resource Name (ARN) of the secret.
virtual string SecretArn { get; }
Property Value
System.
Remarks
This parameter is a return value that you can retrieve using the Fn::GetAtt
intrinsic function. For more information, see Return values .