NOTE: This is work-in-progress, for a future (as yet unreleased) version of Conjur. It will not work with Conjur 4.
Command-line interface to Conjur 5.
A complete reference guide is available at developer.conjur.net.
$ docker run -it -v $PWD:/work conjurinc/cli5
root@2b5f618dfdcb:/# conjur -v
conjur version 6.0.0.pre.beta.2
Images for development/experimental use are automatically built on docker hub. These are based off Dockerfile.standalone and can be rebuilt with:
docker build . -f Dockerfile.standalone -t conjurinc/cli5
Note these images are not subject to any QA at the moment and so should never be used in production, especially without specific image id pin.
Create a sandbox environment in Docker using the ./dev folder:
$ cd dev
dev $ ./start.sh
This will drop you into a bash shell in a container called cli. The sandbox also includes a Postgres container and Possum server container. The environment is already setup to connect the CLI to the server:
http://possumcucumberYou can obtain the API key for the role cucumber:user:admin from the Docker logs of the possum container. Use it to login:
root@2b5f618dfdcb:/# conjur authn login admin
Please enter admin's password (it will not be echoed):
Logged in
At this point, you can use any CLI command you like.
To install dev packages, run bundle from within the container:
root@2b5f618dfdcb:/# cd /usr/src/cli-ruby/
root@2b5f618dfdcb:/usr/src/cli-ruby# bundle
Then you can run the cucumber tests:
root@2b5f618dfdcb:/usr/src/cli-ruby# cucumber
...
git checkout -b my-new-feature)git commit -am 'Added some feature')git push origin my-new-feature)Content type
Image
Digest
sha256:c61703c5f…
Size
194.8 MB
Last updated
about 4 years ago
docker pull conjurinc/cli5