hi there What would be the proper way to inject d...
# help
m
hi there What would be the proper way to inject database credentials (that is available in SSM parameter store) to a SST lambda?
f
Hey @Marcos Sampaio, two options: 1. fetch SSM in CDK and set the decrypted value as environment in
sst.Function
2. fetch SSM in Lambda code
option 1 is less secure b/c u can see the SSM value in plain text in CloudFormation and Lambda console
Lemme know if that make sense.
m
makes sense, thanks @Frank