Would like to have the option of setting encrypt password in environment for validator clients instead of flag so we can delete credentials post launch of the validator client
Password as command line arg should be avoided at any cost.
ref https://github.com/bitcoin/bitcoin/issues/2318
Viable solutions are config files, password files, or as the OP suggested, env variables.
keymanageropts can be an environment variable or a file path, to allow for this.
We offer file based configuration now, if that helps.
https://docs.prylabs.network/docs/prysm-usage/parameters/#loading-parameters-via-yaml-file