saltext.vault.utils.vault.db¶
Vault Database helpers
Added in version 1.1.0.
- saltext.vault.utils.vault.db.get_plugin_meta(name)[source]¶
Get meta information for a plugin with this name, excluding the -database-plugin suffix.
- saltext.vault.utils.vault.db.get_plugin_name(name)[source]¶
Get the name of a plugin as rendered by this module. This is a utility for the state module primarily.
- saltext.vault.utils.vault.db.create_cache_pattern(name=None, mount=None, cache=None, static=None)[source]¶
Render a match pattern for operating on cached leases. Unset parameters will result in a
*
glob.- name
The name of the database role.
- static
Whether the role is static.
- cache
Filter by cache name (refer to get_creds for details).
- mount
The mount path the associated database backend is mounted to.