1 00:00:00,590 --> 00:00:01,650 ‫Okay. So now we're done 2 00:00:01,650 --> 00:00:04,110 ‫with all of the Lambda invocations, now let's go 3 00:00:04,110 --> 00:00:06,850 ‫into more Lambda configurations and deployments. 4 00:00:06,850 --> 00:00:09,070 ‫So Lambda has the concept 5 00:00:09,070 --> 00:00:11,760 ‫of environment variables and what is it? 6 00:00:11,760 --> 00:00:14,100 ‫It's a key value pair in the string form, 7 00:00:14,100 --> 00:00:16,510 ‫and they help you adjust the function behavior 8 00:00:16,510 --> 00:00:18,430 ‫without updating your code. 9 00:00:18,430 --> 00:00:20,740 ‫The function, the environment variables will be available 10 00:00:20,740 --> 00:00:23,650 ‫to your code and the Lambda Service will on top 11 00:00:23,650 --> 00:00:26,770 ‫of things at its own system environment variables as well. 12 00:00:26,770 --> 00:00:28,260 ‫This is quite common when you're programming 13 00:00:28,260 --> 00:00:29,770 ‫to use environment variables. 14 00:00:29,770 --> 00:00:31,460 ‫So they're supported for Lambda. 15 00:00:31,460 --> 00:00:33,380 ‫The cool thing is that we can encrypt 16 00:00:33,380 --> 00:00:34,970 ‫these environment variables 17 00:00:34,970 --> 00:00:38,810 ‫for example, by KMS to store secret values. 18 00:00:38,810 --> 00:00:41,120 ‫And the secrets can be either encrypted 19 00:00:41,120 --> 00:00:44,430 ‫by the Lambda service key or your own customer master key. 20 00:00:44,430 --> 00:00:45,263 ‫So let's go ahead 21 00:00:45,263 --> 00:00:47,733 ‫and do some practice with environment variables.