Redis database plugin HTTP API
Last updated
Last updated
The Redis database plugin is one of the supported plugins for the database secrets engine. This plugin generates database credentials dynamically based on configured roles for the Redis database.
In addition to the parameters defined by the , this plugin has a number of parameters to further configure a connection.
POST
/database/config/:name
(string: <required>)
– Specifies the host to connect to.
(int: <required>)
– Specifies the port number of the connection.
(string: <required>)
– Specifies the username for Vault to use.
(string: <required>)
– Specifies the password corresponding to the given username.
(bool: false)
– Specifies whether to use TLS when connecting to Redis.
(bool: false)
– Specifies whether to skip verification of the server certificate when using TLS.
The following are the statements used by this plugin. If not mentioned in this list the plugin does not support that statement type.
Statements are configured during role creation and are used by the plugin to determine what is sent to the database on user creation, renewing, and revocation. For more information on configuring roles see the in the database secrets engine docs.
(list: [])
– Specifies a JSON string containing to assign to created users. If not provided, defaults to a read-only user that can read any key.