Interface ILogin
(experimental) Username and password combination.
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public interface ILogin
Syntax (vb)
Public Interface ILogin
Remarks
Stability: Experimental
ExampleMetadata: fixture=cluster infused
Examples
var user = new User(this, "User", new UserProps {
Cluster = cluster,
DatabaseName = "databaseName"
});
cluster.AddRotationMultiUser("MultiUserRotation", new RotationMultiUserOptions {
Secret = user.Secret
});
Synopsis
Properties
EncryptionKey | (experimental) KMS encryption key to encrypt the generated secret. |
MasterPassword | (experimental) Password. |
MasterUsername | (experimental) Username. |
Properties
EncryptionKey
(experimental) KMS encryption key to encrypt the generated secret.
virtual IKey EncryptionKey { get; }
Property Value
Remarks
Default: default master key
Stability: Experimental
MasterPassword
(experimental) Password.
virtual SecretValue MasterPassword { get; }
Property Value
Remarks
Do not put passwords in your CDK code directly.
Default: a Secrets Manager generated password
Stability: Experimental
MasterUsername
(experimental) Username.
string MasterUsername { get; }
Property Value
System.String
Remarks
Stability: Experimental