Functionbeat environment variables

Hi, i am wondering if it is possible to override the functionbeat.yml parameters using environment variables?
eg: i want to send to elasticsearch with credentials stored as encrypted env vars, but i want this configured as a Lambda environment variable, not from within the functionbeat.yml file.

The usecase is I need to configure functionbeat in multiple unconnected accounts and this would greatly simplify my rollout