Skip to content

[➕ Feature]: Configurable Vault secret path prefix #6564

Description

@rottingfikaloid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions