credhub-cli

command module
v0.0.0-...-a058922 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

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.

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

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package credhub is a client library for interacting with a CredHub server.
Package credhub is a client library for interacting with a CredHub server.
auth
CredHub authentication strategies
CredHub authentication strategies
auth/uaa
UAA client for token grants and revocation
UAA client for token grants and revocation
credentials
CredHub credential types
CredHub credential types
credentials/generate
CredHub credential types for generating credentials
CredHub credential types for generating credentials
credentials/values
CredHub credential value types
CredHub credential value types
permissions
CredHub permission types
CredHub permission types
server
CredHub server types
CredHub server types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL