Is your feature request related to a problem? Please describe.
Currently, Keep writes secrets directly to the root of the KV secrets engine
(e.g., secret/data/keep_ssh_xxx).
This is not a best practice for HashiCorp Vault.
Describe the solution you'd like
Add an environment variable HASHICORP_VAULT_SECRET_PATH_PREFIX that allows
configuring a custom path prefix for secrets.
Example:
- Current behavior:
secret/data/keep_ssh_df9fc135...
- Desired behavior:
secret/data/keep/keep_ssh_df9fc135...
Describe alternatives you've considered
- Using a dedicated KV mount point for Keep (requires code changes).
- Vault Policy with wildcards (works, but secrets still clutter the root path).
Additional context
HashiCorp Vault best practices recommend organizing secrets in a hierarchical
structure for better audit, policy management, and multi-tenancy.
Is your feature request related to a problem? Please describe.
Currently, Keep writes secrets directly to the root of the KV secrets engine
(e.g.,
secret/data/keep_ssh_xxx).This is not a best practice for HashiCorp Vault.
Describe the solution you'd like
Add an environment variable
HASHICORP_VAULT_SECRET_PATH_PREFIXthat allowsconfiguring a custom path prefix for secrets.
Example:
secret/data/keep_ssh_df9fc135...secret/data/keep/keep_ssh_df9fc135...Describe alternatives you've considered
Additional context
HashiCorp Vault best practices recommend organizing secrets in a hierarchical
structure for better audit, policy management, and multi-tenancy.