SecretBackendConnectionMysqlLegacy

data class SecretBackendConnectionMysqlLegacy(val authType: String? = null, val connectionUrl: String? = null, val maxConnectionLifetime: Int? = null, val maxIdleConnections: Int? = null, val maxOpenConnections: Int? = null, val password: String? = null, val serviceAccountJson: String? = null, val tlsCa: String? = null, val tlsCertificateKey: String? = null, val username: String? = null, val usernameTemplate: String? = null)

Constructors

Link copied to clipboard
constructor(authType: String? = null, connectionUrl: String? = null, maxConnectionLifetime: Int? = null, maxIdleConnections: Int? = null, maxOpenConnections: Int? = null, password: String? = null, serviceAccountJson: String? = null, tlsCa: String? = null, tlsCertificateKey: String? = null, username: String? = null, usernameTemplate: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val authType: String? = null

Specify alternative authorization type. (Only 'gcp_iam' is valid currently)

Link copied to clipboard
val connectionUrl: String? = null

Connection string to use to connect to the database.

Link copied to clipboard

Maximum number of seconds a connection may be reused.

Link copied to clipboard
val maxIdleConnections: Int? = null

Maximum number of idle connections to the database.

Link copied to clipboard
val maxOpenConnections: Int? = null

Maximum number of open connections to the database.

Link copied to clipboard
val password: String? = null

The root credential password used in the connection URL

Link copied to clipboard

A JSON encoded credential for use with IAM authorization

Link copied to clipboard
val tlsCa: String? = null

x509 CA file for validating the certificate presented by the MySQL server. Must be PEM encoded.

Link copied to clipboard

x509 certificate for connecting to the database. This must be a PEM encoded version of the private key and the certificate combined.

Link copied to clipboard
val username: String? = null

The root credential username used in the connection URL

Link copied to clipboard

Username generation template.