GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cloudfoundry/credhub-cli: CredHub CLI provides a command line interface to interact with CredHub servers

BranchesTags
Open more actions menu

Latest commit

 

History

1,236 Commits
1,236 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
commands
commands
 
 
config
config
 
 
credhub
credhub
 
 
errors
errors
 
 
models
models
 
 
scripts
scripts
 
 
test
test
 
 
util
util
 
 
vendor
vendor
 
 
version
version
 
 
.cf-extensions
.cf-extensions
 
 
.gitignore
.gitignore
 
 
EXAMPLES.md
EXAMPLES.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
main_suite_test.go
main_suite_test.go
 
 
main_test.go
main_test.go
 
 
scratch
scratch
 
 
staticcheck.conf
staticcheck.conf
 
 

Repository files navigation

CredHub

slack.cloudfoundry.org GoDoc

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.

  • CredHub Tracker

See additional repos for more info:

  • credhub : CredHub server code
  • credhub-acceptance-tests : Integration tests
  • credhub-release : BOSH release of CredHub server

Installing the CLI

Operating system compatibility

The credhub CLI is tested on Linux and Mac OS, and is supported on these systems. It is not tested or supported on Windows, though it has been known to work at some point.

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

Go Client

This repository contains a Go client library that can be used independently of the CredHub CLI. Documentation for this library can be found here.

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.

Debug Mode:

To see the API calls made by each CLI command, export CREDHUB_DEBUG=true.

Config Location:

By default, the CLI stores its configuration (config.json) in a .credhub directory inside the current user's home directory ($HOME on Linux/macOS, %USERPROFILE% on Windows). Set CREDHUB_HOME to override this and store the configuration under a different directory instead.

About

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

Topics

boshcf-extensionscloudfoundrycredential-managercredhub

Resources

Readme
Apache-2.0 license

Security policy

Security policy
Activity
Custom properties

Stars

44 stars

Watchers

23 watching

Forks

49 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.