Is your feature request related to a problem? Please describe.
If I understand correctly, this action is limited to KV stores and requires one to specific not only a path but also key to retrieve.
For the database secret engine this creates a problem - here one would want to make a single request against Vault and return both the username and password not just either of them.
It would be great if this action would support extracting all keys of a secret as json when providing * as a selector
Describe the solution you'd like
secrets: |
postgres/creds/foo * | DB_CREDS;
Results in the following json string to be stored in DB_CREDS: {"username": "some-temp-username", "password": "some-temp-password"}
Current result
selector gets wrapped into data."*" which doesn't work.
Describe alternatives you've considered
Writing my own raw get request to Vault
Is your feature request related to a problem? Please describe.
If I understand correctly, this action is limited to KV stores and requires one to specific not only a path but also key to retrieve.
For the database secret engine this creates a problem - here one would want to make a single request against Vault and return both the username and password not just either of them.
It would be great if this action would support extracting all keys of a secret as json when providing
*as a selectorDescribe the solution you'd like
Results in the following json string to be stored in
DB_CREDS:{"username": "some-temp-username", "password": "some-temp-password"}Current result
selector gets wrapped into
data."*"which doesn't work.Describe alternatives you've considered
Writing my own raw get request to Vault