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
Here I see a problem trying to use Kv2 secrets, the v1/secrets/ path does not allow the use of Kv2 secrets as the Official Docs mention here, the snippet above must be changed in case the use of Kv2 secrets to accomplish the right path /:secret-mount-path/data/:path?version=:version-number, As we can see, to use Kv2, this v1/secrets/ must become this :secret-mount-path/data/. In my tests, I got that happening /api/vault/v1/secrets/***-secret?engine=***, the engine is being used as query params which the Vault API does not allow.
👍 Expected behavior
The correct validation of the plugin while using Kv2 secrets, as the documentation shows.
👎 Actual Behavior with Screenshots
In my tests, I got that happening /api/vault/v1/secrets/***-secret?engine=***, the engine is being used as query params which the Vault API does not allow for Kv2 secrets, or Kv1 in other mountpaths besides the default secrets hardcoded.
👟 Reproduction steps
Try to use Kv2 secrets, or Kv1 in other mountpaths besides the default secrets.
📃 Provide the context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Plugin Name
@backstage-community/plugin-vault
📜 Description
Here I see a problem trying to use Kv2 secrets, the
v1/secrets/
path does not allow the use of Kv2 secrets as the Official Docs mention here, the snippet above must be changed in case the use of Kv2 secrets to accomplish the right path/:secret-mount-path/data/:path?version=:version-number
, As we can see, to use Kv2, thisv1/secrets/
must become this:secret-mount-path/data/
. In my tests, I got that happening/api/vault/v1/secrets/***-secret?engine=***
, theengine
is being used as query params which the Vault API does not allow.👍 Expected behavior
The correct validation of the plugin while using Kv2 secrets, as the documentation shows.
👎 Actual Behavior with Screenshots
In my tests, I got that happening
/api/vault/v1/secrets/***-secret?engine=***
, theengine
is being used as query params which the Vault API does not allow for Kv2 secrets, or Kv1 in other mountpaths besides the defaultsecrets
hardcoded.👟 Reproduction steps
Try to use Kv2 secrets, or Kv1 in other mountpaths besides the default
secrets
.📃 Provide the context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: