SecretsMountCassandra

data class SecretsMountCassandra(val allowedRoles: List<String>? = null, val connectTimeout: Int? = null, val data: Map<String, String>? = null, val disableAutomatedRotation: Boolean? = null, val hosts: List<String>? = null, val insecureTls: Boolean? = null, val name: String, val password: String? = null, val pemBundle: String? = null, val pemJson: String? = null, val pluginName: String? = null, val port: Int? = null, val protocolVersion: Int? = null, val rootRotationStatements: List<String>? = null, val rotationPeriod: Int? = null, val rotationSchedule: String? = null, val rotationWindow: Int? = null, val skipVerification: Boolean? = null, val tls: Boolean? = null, val username: String? = null, val verifyConnection: Boolean? = null)

Constructors

Link copied to clipboard
constructor(allowedRoles: List<String>? = null, connectTimeout: Int? = null, data: Map<String, String>? = null, disableAutomatedRotation: Boolean? = null, hosts: List<String>? = null, insecureTls: Boolean? = null, name: String, password: String? = null, pemBundle: String? = null, pemJson: String? = null, pluginName: String? = null, port: Int? = null, protocolVersion: Int? = null, rootRotationStatements: List<String>? = null, rotationPeriod: Int? = null, rotationSchedule: String? = null, rotationWindow: Int? = null, skipVerification: Boolean? = null, tls: Boolean? = null, username: String? = null, verifyConnection: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowedRoles: List<String>? = null

A list of roles that are allowed to use this connection.

Link copied to clipboard
val connectTimeout: Int? = null

The number of seconds to use as a connection timeout.

Link copied to clipboard
val data: Map<String, String>? = null

A map of sensitive data to pass to the endpoint. Useful for templated connection strings.

Link copied to clipboard

Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+. Supported list of database secrets engines that can be configured:

Link copied to clipboard
val hosts: List<String>? = null

Cassandra hosts to connect to.

Link copied to clipboard
val insecureTls: Boolean? = null

Whether to skip verification of the server certificate when using TLS.

Link copied to clipboard

Name of the database connection.

Link copied to clipboard
val password: String? = null

The password to use when authenticating with Cassandra.

Link copied to clipboard
val pemBundle: String? = null

Concatenated PEM blocks containing a certificate and private key; a certificate, private key, and issuing CA certificate; or just a CA certificate.

Link copied to clipboard
val pemJson: String? = null

Specifies JSON containing a certificate and private key; a certificate, private key, and issuing CA certificate; or just a CA certificate.

Link copied to clipboard
val pluginName: String? = null

Specifies the name of the plugin to use.

Link copied to clipboard
val port: Int? = null

The transport port to use to connect to Cassandra.

Link copied to clipboard
val protocolVersion: Int? = null

The CQL protocol version to use.

Link copied to clipboard

A list of database statements to be executed to rotate the root user's credentials.

Link copied to clipboard
val rotationPeriod: Int? = null

The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.

Link copied to clipboard

The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.

Link copied to clipboard
val rotationWindow: Int? = null

The maximum amount of time in seconds allowed to complete a rotation when a scheduled token rotation occurs. The default rotation window is unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.

Link copied to clipboard

Skip permissions checks when a connection to Cassandra is first created. These checks ensure that Vault is able to create roles, but can be resource intensive in clusters with many roles.

Link copied to clipboard
val tls: Boolean? = null

Whether to use TLS when connecting to Cassandra.

Link copied to clipboard
val username: String? = null

The username to use when authenticating with Cassandra.

Link copied to clipboard

Whether the connection should be verified on initial configuration or not.