-
Type:
Epic
-
Resolution: Fixed
-
Priority:
Critical
-
Component/s: hashicorp-vault-plugin
-
None
-
Environment:Using Jenkins 2.133, plugin 2.1.1, vault 0.10.3 in dev mode, w/ kv version 2 for /secrets/, all on linux.
It looks like .10 changed the API for kv. https://www.vaultproject.io/api/secret/kv/kv-v2.html
it now requires /secret/data/path, instead of /secret/path. Â The response is also altered, so that you getÂ
Â
"data":{ "data":{ "foo": "bar" } }Â
vs{{}}
"data": { "foo": "bar" }
Â
This causes 404 errors if you don't manually put the /data/ into the path, and doesn't allow the key to be found, so you don't get the actual values into the build steps.
Â
- is duplicated by
-
JENKINS-44900 Getting 404 Error While Reading Vault Secret
-
- Resolved
-