Show / Hide Table of Contents

Interface IRotationMultiUserOptions

Options to add the multi user rotation.

Inherited Members
ICommonRotationUserOptions.AutomaticallyAfter
ICommonRotationUserOptions.Endpoint
ICommonRotationUserOptions.ExcludeCharacters
ICommonRotationUserOptions.RotateImmediatelyOnUpdate
ICommonRotationUserOptions.SecurityGroup
ICommonRotationUserOptions.VpcSubnets
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.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

ISecret

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>
}
Back to top Generated by DocFX