serverless-step-functions icon indicating copy to clipboard operation
serverless-step-functions copied to clipboard

API Gateway - SSM api keys

Open fernando-mf opened this issue 5 years ago • 0 comments
trafficstars

This is a Bug Report

Description

Currently it is not possible to use api keys from SSM. Normally this syntax works for lambdas

apiKeys:
  - name:  myApiKey
    value: ${ssm:/apiKey}

But when we use it for step functions the following error is thrown

API Keys must be strings

It would be nice to add support for ssm keys since they are preserved after stack removals so no need to update the keys in the client when the stack is fully restarted

fernando-mf avatar Mar 09 '20 21:03 fernando-mf