Dan Van Brunt
05/06/2022, 7:30 PMFrank
const stripeKey = new sst.Parameter("/path/to/ssm");
• using the secret
new sst.Function(..., {
parameters: {
stripeKey
}
});
• the secrets will show in SST Console, where u can manually set the values
• in ur lambda
import { Config } from "@serverless-stack/node";
Config.stripeKey; // this has the decrypted value
Frank
Rob N
06/14/2022, 2:12 PMthdxr
06/14/2022, 2:13 PMthdxr
06/14/2022, 2:14 PMRob N
06/14/2022, 2:14 PM