Lightbits CSI Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits DMS Guide
Lightbits Cluster Federation
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
dmscli get credential
Copy Markdown
Open in ChatGPT
Open in Claude
Retrieves service credentials to grant DMS service access to a Lightbits cluster.
Synopsis
Bash
dmscli get credential [flags]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
echo "<base64 encoded Public Key>" | base64 -d > /tmp/pub-key.pemscp /tmp/pub-key.pem <user>@<LightbitsServer>:<FILE_PATH>rm -rf /tmp/pub-key.pem- The credentials should then be added to the cluster:
Bash
lbcli create credential --project-name=system --id=<PUB_KEY_ID> --type=rsa256pubkey <FILE_PATH>Step 2: Attach the Lightbits cluster to the DMS system. Use the attach command providing a Lightbits cluster API endpoint address.
Example:
Bash
dmscli get credential| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for credential. |
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> |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
dmscli get workflow© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message