> Seed lets you store them as secret environmen...
# seed
o
Seed lets you store them as secret environment variables through the Seed console. Seed internally encrypts them using AWS KMS and stores them. They are then decrypted during the build process. And upon deployment, Seed sets them as Lambda environment variables.
Does this only happen for SLS? SEED doesn’t seem to set them for SST functions?
f
Hi @Omi Chowdhury, yeah that’s correct. We should’ve made this more clear in the doc @Jay.
In SST, you can set the SEED secret (ie.
MY_SECRET
) as env vars for all your Lambda functions like this:
Copy code
app.addDefaultFunctionEnv({
  MY_SECRET: procress.env.MY_SECRET,
});
o
Cool, yeah I figured it was a good opportunity to finally start using SSM for this
Just caught me off guard, but at least it's a chance for me to try out SQS redrives in dev, didn't know that feature existed
j
Yup I'll add a note.