I can’t set proper CHAMBER_KEY
environment variable in Circle CI
Re: CI other than Travis/deployment other than Heroku? · Issue #42 · thekompanee/chamber · GitHub
In the case of Circle, because it’s never exposed to the repo, we can put
CHAMBER_KEY
with the value of our private.chamber.pem
file.
I used this in my local machine and works well
bash-3.2$ export CHAMBER_KEY="-----BEGIN RSA PRIVATE KEY-----
>...
> -----END RSA PRIVATE KEY-----"
But it errors out in Circle CI with the same https://circleci.com/bb/insuranceco/insurance/edit#env-vars saying
OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:
Anything I’m doing wrong?