Hello! I’m working on an application using SST. They provide a way to keep secrets in AWS Parameter Store. You can add them by using the sst cli and access them in your application using a library they provide too.
I would like to use Doppler as a single source of truth for the application secrets, so I was thinking in using the Doppler integration to add the secrets to the store and access them using the SST library, removing the need to add the secrets manually using the SST cli.
SST adds the secrets to the store in a path with the following format:
/sst/<app-name>/<stage>/Secret/<secret-key>/value
An example would be:
/sst/app/production/Secret/MY_SECRET_KEY/value
As you can see, they add a /value
at the end of the path. I was wondering if there is a way I can replicate that path using the Doppler integration, like some kind of interpolation were I can provide a token that represents the secret name and it will be replaced by said name in the store path.
For example, if I use /sst/app/production/Secret/{secret-name}/value
as path in the integration setup and I have a secret named MY_SECRET
in my Doppler configuration, it will be saved under the path /sst/app/production/Secret/MY_SECRET/value
in the AWS Parameter Store. Is that possible?