dmscli get credential

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

Synopsis

Bash
Copy

Attaching a new Lightbits cluster to the DMS system is a two-step process.

Step 1: Get credentials from the DMS service and add them to the Lightbits cluster:

  • Invoke this command from the DMS service to get a public key and the public key ID.
  • The Base64-encoded public key should be Base64 decoded, imported, and saved as a file on the Lightbits cluster:
Bash
Copy
  • The credentials should then be added to the cluster:
Bash
Copy

Step 2: Attach the Lightbits cluster to the DMS system. Use the attach command providing a Lightbits cluster API endpoint address.

Example:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for credential.

Response Type

GetServiceCredentialsResponse - Get Service Credentials Response

The response to get the service credentials for the DMS service.

NameTypeDescription
PubKeyIdstringThe key ID to be used while importing the public key into the Lightbits cluster.
PubKeystringThe base64-encoded public key to be imported into the Lightbits cluster. After Base64 decoding, the contents should be saved as a file (e.g., into <FILE_PATH>) and passed as an argument to the following command to the corresponding Lightbits cluster, with <FILE_PATH> and <PUB_KEY_ID> substituted, as appropriate. lbcli create credential --project-name=system--id=<PUB_KEY_ID> --type=rsa256pubkey <FILE_PATH>
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard