AWS Lambda: How to store a secret to an external API?
⚡️ Blog post and source code: www.undefineda...
In this video we take a look at how secrets, private keys and passwords should be stored in a lambda function. First, we extract hardcoded secrets into environment variables, then we learn how to encrypt these variables using a key from KMS (Key Management Service) and how to decrypt them in the lambda function.
⭐️ Subscribe for more content: newsletter.und...
#lambda #kms #nodejs
5 окт 2024