cfcli get credential

Retrieves service credentials to grant CF service access to a Lightbits cluster.

Bash
Copy

Synopsis

Attaching a new Lightbits cluster to the CF system is a two-step process:

  1. Get credentials from the CF service and add them to the Lightbits cluster.
  2. Attach the Lightbits cluster to the CF system. This is the first step in attaching a Lightbits cluster, adding CF-generated credentials to a Lightbits cluster.

Invoke this command to get a Base64-encoded public key and the public key ID.

The Base64-encoded public key will be saved to: ~/.local/cluster-federation/<pubKeyId>.pem.

The file should then be copied to the Lightbits cluster:

Bash
Copy

And then passed as an argument to the following command issued to the relevant cluster:

Bash
Copy

Example:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for credential.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard