I’m having trouble storing an RSA key in an environment variable.
I have a local
.env file that contains:
With docker-compose, I spin up my image and when I run
env I see:
$ env MYSECRET=hello world
With render, when I set
MYSECRET="hello\world" in the dashboard then on my VM I get:
$ env MYSECRET=hello\nworld
I’m trying to store an RSA key in an environment variable on render but I can’t get it to work properly. The exact same docker image is working locally with docker compose and passing the exact environment variable value.
Is there a way to pass an RSA key as an environment variable in the dashboard? Or is there a way to use files as secrets?