Use Environment Variables in Lambda Functions

Is there a more secure way to use environment variables than inserting them into your .yml file which is then likely to be commuted to source control?

Can you just add environment variables somehow to the aws lamda execution environment?