Add Environment Variables in the AWS Console
- Sign in to the AWS Management Console.
- Go to AWS Services and open Lambda.
- Select your AWS Lambda function.
- Go to Environment variables and enter your function's key-value pair environment variables.
- Click Save.