Skip to content

Releases: cloudfoundry/credhub-cli

1.7.7

16 Jul 20:53

Choose a tag to compare

Features

  • Obscures the values being typed in during credhub set operations.

Bug Fixes and Minor Improvements

  • Resolves error where the CLI was not properly using available UAA refresh tokens to extend authentication lifetimes.

1.7.6

05 Jun 19:04

Choose a tag to compare

Features

  • Obscures the value of credentials in the output from set, generate and regenerate operations.

Bug Fixes and Minor Improvements

  • Updates dependencies

1.7.5

25 Apr 16:04

Choose a tag to compare

1.7.4

13 Apr 17:52

Choose a tag to compare

  • Reverts a backwards-incompatible change that was made to CredHub's error responses to authorization endpoints. This regression was causing clients expecting the older JSON structure to fail to refresh their access tokens.

1.7.3

26 Mar 16:07

Choose a tag to compare

Minor process improvements.

1.7.1

26 Mar 15:53

Choose a tag to compare

Minor bugfixes and improvements.

1.7.0

15 Mar 16:35

Choose a tag to compare

Features

  • curl: CLI now supports executing arbitrary HTTPS requests to a CredHub server, using the CLI's configuration to set auth headers, establish and tunnel through socks5 proxies, etc.
  • get --key: When executing a credhub get, the CLI can be configured to only return the value you're interested in, without indentation, with the --key, -k flag. No more peeling whitespace off of certificates and private keys — just use credhub get -n /my/cert -k "certificate".
  • bulk-regenerate: CLI now supports the bulk regeneration of all certificates signed by a named CA, recursively.

1.6.0

13 Feb 11:09

Choose a tag to compare

This release primarily includes quality-of-life improvements, particularly for users of bosh-bootloader (bbl).

Features

  • Authenticates automatically and discards bearer token after any command that requires authentication, provided certain environment variables are set. This allows us not to write a bearer token to your filesystem, and avoids frustrating re-authentication intervals. The required environment variables are:
    • CREDHUB_SERVER -- URI for CredHub server
    • CREDHUB_CLIENT -- UAA client name
    • CREDHUB_SECRET -- UAA client secret
  • Supports creating a short-lived socks5 proxy over SSH and using it for the lifespan of a single command. Mimics the behavior of BOSH cli v2.0.48, though the CredHub CLI expects the ssh+socks5 URI at the CREDHUB_PROXY environment variable.
  • Supports UAA's SSO authentication (thanks @aeijdenberg! -- #15)
  • Supports system trust stores for validating CredHub and UAA server TLS certificates (resolves #22).

1.5.3

29 Dec 21:12

Choose a tag to compare

  • Resolves error where CLI panicked when credhub --version was run without a config file having been written out (resolves #28)
  • credhub --version now reports its own version before querying the targeted CredHub server (resolves #27)

1.5.2

21 Dec 21:07

Choose a tag to compare

Resolves issue with https_proxy not being respected.