SecretsMountElasticsearchArgs

data class SecretsMountElasticsearchArgs(val allowedRoles: Output<List<String>>? = null, val caCert: Output<String>? = null, val caPath: Output<String>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val data: Output<Map<String, String>>? = null, val disableAutomatedRotation: Output<Boolean>? = null, val insecure: Output<Boolean>? = null, val name: Output<String>, val password: Output<String>, val pluginName: Output<String>? = null, val rootRotationStatements: Output<List<String>>? = null, val rotationPeriod: Output<Int>? = null, val rotationSchedule: Output<String>? = null, val rotationWindow: Output<Int>? = null, val tlsServerName: Output<String>? = null, val url: Output<String>, val username: Output<String>, val usernameTemplate: Output<String>? = null, val verifyConnection: Output<Boolean>? = null) : ConvertibleToJava<SecretsMountElasticsearchArgs>

Constructors

Link copied to clipboard
constructor(allowedRoles: Output<List<String>>? = null, caCert: Output<String>? = null, caPath: Output<String>? = null, clientCert: Output<String>? = null, clientKey: Output<String>? = null, data: Output<Map<String, String>>? = null, disableAutomatedRotation: Output<Boolean>? = null, insecure: Output<Boolean>? = null, name: Output<String>, password: Output<String>, pluginName: Output<String>? = null, rootRotationStatements: Output<List<String>>? = null, rotationPeriod: Output<Int>? = null, rotationSchedule: Output<String>? = null, rotationWindow: Output<Int>? = null, tlsServerName: Output<String>? = null, url: Output<String>, username: Output<String>, usernameTemplate: Output<String>? = null, verifyConnection: Output<Boolean>? = null)

Properties

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

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

Link copied to clipboard
val caCert: Output<String>? = null

The path to a PEM-encoded CA cert file to use to verify the Elasticsearch server's identity

Link copied to clipboard
val caPath: Output<String>? = null

The path to a directory of PEM-encoded CA cert files to use to verify the Elasticsearch server's identity

Link copied to clipboard
val clientCert: Output<String>? = null

The path to the certificate for the Elasticsearch client to present for communication

Link copied to clipboard
val clientKey: Output<String>? = null

The path to the key for the Elasticsearch client to use for communication

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

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

Link copied to clipboard
val disableAutomatedRotation: Output<Boolean>? = null

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 insecure: Output<Boolean>? = null

Whether to disable certificate verification

Link copied to clipboard
val name: Output<String>

Name of the database connection.

Link copied to clipboard
val password: Output<String>

The password to be used in the connection URL

Link copied to clipboard
val pluginName: Output<String>? = null

Specifies the name of the plugin to use.

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

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

Link copied to clipboard
val rotationPeriod: Output<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
val rotationSchedule: Output<String>? = null

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: Output<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
val tlsServerName: Output<String>? = null

This, if set, is used to set the SNI host when connecting via TLS

Link copied to clipboard
val url: Output<String>

The URL for Elasticsearch's API

Link copied to clipboard
val username: Output<String>

The username to be used in the connection URL

Link copied to clipboard
val usernameTemplate: Output<String>? = null

Template describing how dynamic usernames are generated.

Link copied to clipboard
val verifyConnection: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): SecretsMountElasticsearchArgs