Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault KV v2: cannot access subkeys/ path via consul-template #2015

Open
ryansammonaiven opened this issue Jan 13, 2025 · 0 comments
Open

Vault KV v2: cannot access subkeys/ path via consul-template #2015

ryansammonaiven opened this issue Jan 13, 2025 · 0 comments

Comments

@ryansammonaiven
Copy link

Currently, the code that shims data/ into Vault KV v2 paths only checks if the path starts with data/ or metadata/. (code)

This effectively means that only these paths are accessible within Vault KV v2 secrets engines.

For example, attempting to access a path starting with subkeys/ (Vault API Docs) will result in the shim transforming the path to data/subkeys/..., missing the desired endpoint.

The code that shims data/ into Vault KV v2 paths needs to check for every possible valid prefix before deciding to shim in data/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant