icmcli login
Logs in to Lightbits ICM.
Synopsis
Logs in to Lightbits ICM, with a valid username and password to get a bearer token to access the ICM system. Optionally, you can use the save flag to save the login information in the config file for reuse.
icmcli login [flags]
Examples
# icmcli login --username <username> --password <password>
icmcli login --username admin-icm --password password123 --base-url https://localhost --save
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| string | "https://localhost" | Endpoint of the ICM service. | |
|
| bool | Help for | |
|
| string | Password to log in to ICM (required). | |
|
| bool | true | Save login information in the config file for reuse. |
|
| string | Username to log in to ICM (required). |
Response Type
Returns a bearer token (JWT) and its expiry, and caches it in ~/.local/intelligent-cluster-management/icm-cli.yaml.
Last updated on
Was this page helpful?
Powered by DeveloperHub
Next to read:
icmcli refresh© 2026 Lightbits Labs™
Lightbits Kubernetes CSI Quick Start Guide
Lightbits CSI Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits OpenStack Driver - Legacy Support
Lightbits DMS Guide
Lightbits Cluster Federation
Proxmox Plugin
Intelligent Cluster Management (ICM)