Enum ClientPasswordAuthType
Client password authentication type used by a proxy to log in as a specific database user.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum ClientPasswordAuthType
Syntax (vb)
Public Enum ClientPasswordAuthType
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
Engine = DatabaseClusterEngine.AuroraMysql(new AuroraMysqlClusterEngineProps {
Version = AuroraMysqlEngineVersion.VER_3_03_0
}),
Writer = ClusterInstance.Provisioned("writer"),
Vpc = vpc
});
var proxy = new DatabaseProxy(this, "Proxy", new DatabaseProxyProps {
ProxyTarget = ProxyTarget.FromCluster(cluster),
Secrets = new [] { cluster.Secret },
Vpc = vpc,
ClientPasswordAuthType = ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
});
Synopsis
Fields
| MYSQL_CACHING_SHA2_PASSWORD | MySQL Caching SHA2 Password client authentication type. |
| MYSQL_NATIVE_PASSWORD | MySQL Native Password client authentication type. |
| POSTGRES_MD5 | PostgreSQL MD5 client authentication type. |
| POSTGRES_SCRAM_SHA_256 | SCRAM SHA 256 client authentication type. |
| SQL_SERVER_AUTHENTICATION | SQL Server Authentication client authentication type. |
Fields
| Name | Description |
|---|---|
| MYSQL_CACHING_SHA2_PASSWORD | MySQL Caching SHA2 Password client authentication type. |
| MYSQL_NATIVE_PASSWORD | MySQL Native Password client authentication type. |
| POSTGRES_MD5 | PostgreSQL MD5 client authentication type. |
| POSTGRES_SCRAM_SHA_256 | SCRAM SHA 256 client authentication type. |
| SQL_SERVER_AUTHENTICATION | SQL Server Authentication client authentication type. |