aws-lambda icon indicating copy to clipboard operation
aws-lambda copied to clipboard

Management of secrets in this component

Open harleyguru opened this issue 4 years ago • 1 comments

We can use ${ssm:} syntax in serverless framework, but I can't find the way to do it with this component. I found out parameter-store component, but it doesn't work ever.

harleyguru avatar Oct 06 '20 21:10 harleyguru

I think the idea behind it is to use aws parameter store to get the parameters from SMS into the serverless and reference those:

component: aws-parameter-store
org: XXXX
app: YYYYYY
name: issuer-sms-parameters
stage: prod

inputs:
  parameters:
    - name: dbIssuerKey
      path: /prod/faunadb/issuer/key

And you should be able to reference those as ${output:issuer-sms-parameters.dbIssuerKey} Note I haven't tried the latter part so there might be a syntax discrepancy in it.

mwawrusch avatar Nov 23 '20 13:11 mwawrusch