Interface IRotationMultiUserOptions
Options to add the multi user rotation.
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public interface IRotationMultiUserOptions : ICommonRotationUserOptions
Syntax (vb)
Public Interface IRotationMultiUserOptions
Inherits ICommonRotationUserOptions
Remarks
ExampleMetadata: infused
Examples
DatabaseInstance instance;
DatabaseSecret myImportedSecret;
instance.AddRotationMultiUser("MyUser", new RotationMultiUserOptions {
Secret = myImportedSecret
});
Synopsis
Properties
Secret | The secret to rotate. |
Properties
Secret
The secret to rotate.
ISecret Secret { get; }
Property Value
Remarks
It must be a JSON string with the following format:
{
"engine": <required: database engine>,
"host": <required: instance host name>,
"username": <required: username>,
"password": <required: password>,
"dbname": <optional: database name>,
"port": <optional: if not specified, default port will be used>,
"masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
}