You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Vault CLI fails to properly handle KV-V2 undelete commands when backend is mounted under a path that has multiple levels.
vault kv undelete -versions=1 -mount=secrets/myapp mysecret
Error writing data to myapp/undelete/mysecret: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/myapp/undelete/mysecret
Code: 404. Errors:
* no handler for route "myapp/undelete/mysecret". route entry not found.
Expected behavior
Vault CLI should properly handle the mounts that are deeper than a single layer. Current behavior truncates everything
before the last /
Environment:
Vault Server Version (retrieve with vault status):
vault status
Key Value
--- -----
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.13.0
Build Date n/a
Storage Type inmem
Cluster Name vault-cluster-74a1cb17
Cluster ID 725fb721-282c-81fc-b210-c80d5c99aadd
HA Enabled false
Vault CLI Version (retrieve with vault version):
Vault v1.13.0 (cgo)
Server Operating System/Architecture:
Linux 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Vault server configuration file(s):
N/A just used the default dev server
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Vault CLI fails to properly handle KV-V2 undelete commands when backend is mounted under a path that has multiple levels.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Vault CLI should properly handle the mounts that are deeper than a single layer. Current behavior truncates everything
before the last
/
Environment:
vault status
):vault version
):Vault server configuration file(s):
N/A just used the default dev server
Additional context
The text was updated successfully, but these errors were encountered: