Public | Automated Build

Last pushed: a day ago
Short Description
Standalone Conjur5 CLI (WIP)
Full Description


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

Quick start

$ docker run -it -v $PWD:/work conjurinc/cli5
root@2b5f618dfdcb:/# conjur -v
conjur version 6.0.0.pre.beta.2

Docker images

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 $ ./

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:

  • CONJUR_APPLIANCE_URL http://possum
  • CONJUR_ACCOUNT cucumber

You 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.

Running Cucumber

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


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Docker Pull Command
Source Repository