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
The documentation does not show how to access secrets from aws secrets manager stored in JSON. Is there an ETA to add this ability? If you have many secrets its very cost prohibitive to have 1 secret to 1 plain text value.
This works fine when the secret is plain text but the default in aws console for secrets manager is JSON string (key/value). When using the default key/value for storing many secrets at once I am unable to decode it.
Activity
exoego commentedon Feb 16, 2019
@claygorman
${ssm} is a syntax to refer AWS Systems Manager Parameter Store.
Parameter Store supports String, StringList and SecureString, but not JSON, if I understand correctly.
Perhaps, do you want to refer AWS Systems Manager Documents, which is in the form of JSON or YAML, like below ?
{ "schemaVersion" : "2.2", "description" : "Command Document Example JSON Template", "parameters" : { "Message" : { "type" : "String", "description" : "Example", "default" : "Hello World" } }, "mainSteps" : [ { "action" : "aws:runPowerShellScript", "name" : "example", "inputs" : { "runCommand" : [ "Write-Output {{Message}}" ] } } ] }claygorman commentedon Feb 17, 2019
@exoego I am referring to the aws secrets manager reference for the ${ssm}
https://serverless.com/framework/docs/providers/aws/guide/variables#reference-variables-using-aws-secrets-manager
This works fine when the secret is plain text but the default in aws console for secrets manager is JSON string (key/value). When using the default key/value for storing many secrets at once I am unable to decode it.
Here is a similar concern in another thread #5024 (comment)
exoego commentedon Feb 17, 2019
Opened a PR #5842.
claygorman commentedon Feb 17, 2019
Wow thank you very much!