Closed anshumanbh closed 6 years ago
This error happens when Conjur is started without the CONJUR_DATA_KEY environment variable being set.
This needs to be set prior to sending the container. It can be done with the following:
$ docker-compose run --no-deps --rm conjur data-key generate > data_key
$ export CONJUR_DATA_KEY="$(< data_key)"
$ docker-compose up -d
Please note, save the CONJUR_DATA_KEY
somewhere safe. It will need to be set to restart the container.
Hi @jvanderhoof I tried running my script again and it looked it downloaded a newer image and it worked. I am not sure what was causing it to fail yesterday but I did have the CONJUR_DATA_KEY
set before I started the container. If this happens again, I will reopen this ticket. Thanks!
@jvanderhoof @anshumanbh this issue has resurfaced on https://www.conjur.org/get-started/quick-start/oss-environment/#step-5 . what I did to overcome was fallback to prior image version 4 client Conjur. Unsure why worked. Also found some other subtle issue in Quickstart steps to define policy..will address in PR. Thanks gents `client: image: cyberark/conjur-cli:4 container_name: conjur_client depends_on: [ proxy ] entrypoint: sleep command: infinity volumes:
I am using
cyberark/conjur
Docker image for the Conjur server. Theconjurctl
version is0.2.0
. When I am trying to create an account, I am seeing the following error:Any idea why this is happening?