Enhancement: Introduce new query parameter for jsonKey
to enable common use case
#55
Labels
enhancement
New feature or request
jsonKey
to enable common use case
#55
Enhancement to provide for common use case looking for a specific key (password) out of the secret payload
Often though many different pieces of data are in the Secret Manager JSON payload the data the application is interested in is simply the password or secret at hand.
Look to add parity similar to how it works when retrieving directly from ECS/task definition
Implementation details/concerns:
Option 1:
Add a new simple query parameter
http://localhost:2773/secretsmanager/get?secretId=<YOUR_SECRET_ID>&jsonKey=password
(Less Ideal) Resulting payload BAU with new response key
SecretKeyValue
(More Ideal) Resulting payload that breaks the contract of original query response
Option 2:
Introduce a different endpoint to allow for different payload
http://localhost:2773/secretsmanager/<YOUR_SECRET_ID>/password
Resulting payload
I am open to trying to help contribute if issue is excepted
The text was updated successfully, but these errors were encountered: