Skip to content

Hardcoded paths in kv_v2.py: "/v1/{mount_point}/data/{path}", mount_point=mount_point, path=path #963

Answered by briantist
WastedAccounts asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @WastedAccounts , it sounds like your Vault secret store might be KV version 1 rather than version 2. There is no way to turn off the /data/ portion of the path in v2.

You can check in Vault which version of the KV store it is, or you can confirm with your Vault team if you don't have direct permissions to do so.

In the meantime you may want to try the KVv1 method: https://hvac.readthedocs.io/en/stable/usage/secrets_engines/kv_v1.html#read-a-secret

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@WastedAccounts
Comment options

@briantist
Comment options

Answer selected by WastedAccounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
secrets engines generally related to a Vault secrets engine kv Key/Value (KV) secrets engine
2 participants