The /sys/mounts
endpoint is used to manage secrets engines in Vault.
Reference: https://www.vaultproject.io/api-docs/system/mounts
The `/sys/mounts` endpoint is used to manage secrets engines in Vault. Reference: https://www.vaultproject.io/api-docs/system/mounts
Methods for managing secrets engines in Vault.
Methods for managing secrets engines in Vault.
(disable-secrets! client path)
Disable the mount point specified by the given path.
Disable the mount point specified by the given path.
(enable-secrets! client path params)
Enable a new secrets engine at the given path. After enabling, this engine can be accessed and configured via the specified path. Returns nil.
Parameters:
:type
(string)
The type of the backend, such as "aws" or "openldap".
`:description (optional, string)
Human-friendly description of the mount.
:config
(optional, map)
Configuration options for this mount.
:options
(optional, map)
Mount type specific options that are passed to the backend.
See the Vault API docs for details.
Enable a new secrets engine at the given path. After enabling, this engine can be accessed and configured via the specified path. Returns nil. Parameters: - `:type` (string) The type of the backend, such as "aws" or "openldap". - `:description (optional, string) Human-friendly description of the mount. - `:config` (optional, map) Configuration options for this mount. - `:options` (optional, map) Mount type specific options that are passed to the backend. See the Vault API docs for details.
(list-mounts client)
List all the mounted secrets engines. Returns a map of secrets engines to their configurations.
List all the mounted secrets engines. Returns a map of secrets engines to their configurations.
(read-mount-configuration client path)
Read the given mount's configuration.
Unlike the [[read-secrets-configuration]] method, this will return the current time in seconds for each TTL, which may be the system default or a mount-specific value.
Read the given mount's configuration. Unlike the [[read-secrets-configuration]] method, this will return the current time in seconds for each TTL, which may be the system default or a mount-specific value.
(read-secrets-configuration client path)
Read the configuration of the secrets engine mounted at the given path.
Read the configuration of the secrets engine mounted at the given path.
(tune-mount-configuration! client path params)
Tune the configuration parameters for the given mount point. Returns
nil
.
See the Vault API docs for available parameters.
Tune the configuration parameters for the given mount point. Returns `nil`. See the Vault API docs for available parameters.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close