I have yet to find a "standardized" way of doing this. I've had to devise my own so far. Storing env vars on a build server helps.
However, I did recently discover a system called Vault by Hashicorp, same company behind Terraform. It's a secure key server mainly meant for secrets management, but I see no reason why you couldn't use it for other environment variables.