Describe the bug
vault-action v2.1.2 breaks the secrets that are stored as json, for example json web token keys, because the values are now parsed as json instead of a string REF.
To Reproduce
Example secret that is stored as json:
Was in v2.1.1 passed to the application in the correct JSON format as
In v2.1.2 it is passed to the application as JavaScript object representation, which is not valid JSON:
This results in a fatal error in the application due to invalid formatting.
Expected behavior
The secrets in JSON format should not be modified and passed to the application in valid JSON format.
Describe the bug
vault-action
v2.1.2breaks the secrets that are stored as json, for example json web token keys, because the values are now parsed as json instead of a string REF.To Reproduce
Example secret that is stored as json:
Was in
v2.1.1passed to the application in the correct JSON format asIn
v2.1.2it is passed to the application as JavaScript object representation, which is not valid JSON:This results in a fatal error in the application due to invalid formatting.
Expected behavior
The secrets in JSON format should not be modified and passed to the application in valid JSON format.