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
Hi @regentov, thank you for filing an issue for this bug.
I was able to reproduce the error, and found a minor issue in how the data prefix was being checked for kv2 secret paths. #1341 should fix the underlying problem. Let me know if you have any followup concerns on this bug!
Consul Template version
consul-template v0.22.0 (005b42e)
vault v1.3.2
Configuration
Expected behavior
As stated in docs, in vault 0.10.1+ secret path does not have to be prefixed with "data" if it is kv2.
Actual behavior
When accessing "test/dataface/test" 403 is thrown:
So, secret path have to be prefixed with "data", i.e. only "test/data/dataface/test" works if secret path begins with "data" letters.
When secret path does not begin with "data" letters, it works as expected, i.e both "test/datoface/test" and "test/data/datoface/test" are good.
Steps to reproduce
The text was updated successfully, but these errors were encountered: