I am using serverless
to deploy to AWS. And I need to read secrets from secret manager. Below is the syntax it supports. It works fine for a string value. If my secret saved as a json, how can I reference the nested value from json?
DARKSKY_APIKEY: ${ssm:/darksky-api-key~true}
for example, the value is:
{
username: xxx
password: xxx
}
```,
how can I reference the `password` from above syntax?