Interface IBasicAuthProps
(experimental) Properties for a BasicAuth.
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public interface IBasicAuthProps
Syntax (vb)
Public Interface IBasicAuthProps
Remarks
Stability: Experimental
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.Amplify;
using Amazon.CDK.AWS.KMS;
using Amazon.CDK;
Key key;
SecretValue secretValue;
var basicAuthProps = new BasicAuthProps {
Username = "username",
// the properties below are optional
EncryptionKey = key,
Password = secretValue
};
Synopsis
Properties
EncryptionKey | (experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager. |
Password | (experimental) The password. |
Username | (experimental) The username. |
Properties
EncryptionKey
(experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.
virtual IKey EncryptionKey { get; }
Property Value
Remarks
Default: - default master key
Stability: Experimental
Password
(experimental) The password.
virtual SecretValue Password { get; }
Property Value
Remarks
Default: - A Secrets Manager generated password
Stability: Experimental
Username
(experimental) The username.
string Username { get; }
Property Value
System.String
Remarks
Stability: Experimental