Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
dmscli get credential
Retrieves service credentials to grant DMS service access to a Lightbits cluster.
Synopsis
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:
The credentials should then be added to the cluster:
Step 2: Attach the Lightbits cluster to the DMS system. Use the attach command providing a Lightbits cluster API endpoint address.
Example:
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | Help for |
Response Type
GetServiceCredentialsResponse - Get Service Credentials Response
The response to get the service credentials for the DMS service.
Name | Type | Description |
|---|---|---|
PubKeyId | string | The key ID to be used while importing the public key into the Lightbits cluster. |
PubKey | string | The 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> |
© 2026 Lightbits Labs™