Skip to content

CredHub CLI provides a command line interface to interact with CredHub servers

License

Notifications You must be signed in to change notification settings

cloudfoundry/credhub-cli

Folders and files

NameName
Last commit message
Last commit date
Jul 14, 2017
Jul 10, 2017
Jul 17, 2017
Jun 2, 2017
Jul 17, 2017
Jul 17, 2017
Jul 10, 2017
Jul 17, 2017
Mar 14, 2017
Mar 1, 2017
Oct 18, 2016
May 11, 2017
Jan 25, 2017
Jul 10, 2017
May 10, 2017
Jun 12, 2017
May 25, 2017
May 25, 2017
May 25, 2017
May 24, 2017

Repository files navigation

CredHub CLI slack.cloudfoundry.org

CredHub manages credentials like passwords, certificates, certificate authorities, ssh keys, rsa keys and arbitrary values (strings and JSON blobs). CredHub provides a CLI and API to get, set, generate and securely store such credentials.

See additional repos for more info:

Installing the CLI

MacOS X with Homebrew

  brew install cloudfoundry/tap/credhub-cli

Linux and Windows

Download and install the desired release from the release page.

Building the CLI:

make (first time only to get dependencies, will also run specs)

make build

Usage:

CredHub CLI can be used to manage credentials stored in a CredHub server. You must first target the CredHub server using the api command. Once targeted, you must login with either user or client credentials. Future commands will be sent to the targeted server. For additional information on how to perform CLI operations, you may review the examples shown here or review the help menus with the commands credhub --help and credhub <command> --help.