package MySQL
- Alphabetic
- Public
- Protected
Type Members
- case class Connection(connectionUrl: String, username: String, password: String, tlsCertificateKey: String = "", tlsCa: String = "", maxOpenConnections: Int = 2, maxIdleConnections: Int = 0, maxConnectionLifetime: Duration = Duration.Zero, verifyConnection: Boolean = true, allowedRoles: Array[String] = Array.empty, rootRotationStatements: Array[String] = Array.empty) extends BaseConnection with Product with Serializable
- case class Role(dbName: String, creationStatements: List[String], revocationStatements: List[String] = defaultRevocationStatements(), defaultTtl: Duration = Duration.Undefined, maxTtl: Duration = Duration.Undefined) extends BaseRole with Product with Serializable
- dbName
the name of the database connection to use for this role.
- creationStatements
the database statements executed to create and configure a user. See the plugin's API page for more information on support and formatting for this parameter.
- revocationStatements
the database statements to be executed to revoke a user. See the plugin's API page for more information on support and formatting for this parameter.
- defaultTtl
the TTL for the leases associated with this role. Defaults to system/engine default TTL time.
- maxTtl
the maximum TTL for the leases associated with this role. Defaults to system/mount default TTL time; this value is allowed to be less than the mount max TTL (or, if not set, the system max TTL), but it is not allowed to be longer.
- See also
See also The TTL General Case.
Value Members
- object Connection extends BaseConnectionObject[Connection] with Serializable
- object Role extends Serializable