SecretBackendConnectionPostgresql

data class SecretBackendConnectionPostgresql(val authType: String? = null, val connectionUrl: String? = null, val disableEscaping: Boolean? = null, val maxConnectionLifetime: Int? = null, val maxIdleConnections: Int? = null, val maxOpenConnections: Int? = null, val password: String? = null, val passwordAuthentication: String? = null, val privateKey: String? = null, val selfManaged: Boolean? = null, val serviceAccountJson: String? = null, val tlsCa: String? = null, val tlsCertificate: String? = null, val username: String? = null, val usernameTemplate: String? = null)

Constructors

Link copied to clipboard
constructor(authType: String? = null, connectionUrl: String? = null, disableEscaping: Boolean? = null, maxConnectionLifetime: Int? = null, maxIdleConnections: Int? = null, maxOpenConnections: Int? = null, password: String? = null, passwordAuthentication: String? = null, privateKey: String? = null, selfManaged: Boolean? = null, serviceAccountJson: String? = null, tlsCa: String? = null, tlsCertificate: 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

Disable special character escaping in username and password

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

When set to scram-sha-256, passwords will be hashed by Vault before being sent to PostgreSQL.

Link copied to clipboard
val privateKey: String? = null

The secret key used for the x509 client certificate. Must be PEM encoded.

Link copied to clipboard
val selfManaged: Boolean? = null

If set, allows onboarding static roles with a rootless connection configuration.

Link copied to clipboard

A JSON encoded credential for use with IAM authorization

Link copied to clipboard
val tlsCa: String? = null

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

Link copied to clipboard
val tlsCertificate: String? = null

The x509 client certificate for connecting to the database. Must be PEM encoded.

Link copied to clipboard
val username: String? = null

The root credential username used in the connection URL

Link copied to clipboard

Username generation template.