One of our Apps github-backup requires the use of an RSA Private Key as an Environment Variable.
Simply attempting to export the key it in the terminal e.g:
te
If you want to export direct value (not from *.pem) then use " after equals sign. The terminal will let you finish with another ".
export PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA04up8hoqzS1+
...
l48DlnUtMdMrWvBlRFPzU+hU9wDhb3F0CATQdvYo2mhzyUs8B1ZSQz2Vy==
-----END RSA PRIVATE KEY-----"