Scenario: You need to deploy an AWS Lambda function that requires access to an external API key. How would you securely store this API key?

  • Hardcode the API key in the Lambda function code
  • Pass the API key as an environment variable
  • Store the API key in a plaintext configuration file
  • Use AWS Secrets Manager
Using AWS Secrets Manager to securely store and manage the API key ensures that it is protected and can be accessed by the Lambda function when needed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *