Note: Environment variable is generated in the browser. Private key is not sent to a server.
Why?
I create a lot of applications. I find it easier to set environment variables instead of uploading private keys. I've only used this with Vonage private keys, but it should work with any.