dmscli login

Logs in to the Lightbits Data Mobility Service (DMS).

Synopsis

Logs in to the Lightbits Data Mobility Service (DMS) with a valid username and password, to get a bearer token to access the DMS system. Optionally, you can use the save flag to save the login information in the config file for reuse.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for login.
--base-urlstring"https://localhost"The endpoint of the DMS service.
--password-pstringThe password to log in to DMS (required).
--save-sbooltrueSave login information in the config file for reuse.
--username-ustringThe username to log in to DMS (required).

Response Type

LoginResponse - Login Response

The response to the login to the DMS service.

NameTypeDescription
TokenTypestringThe type of token.
ExpiresInuint64The time in seconds when the token will expire.
IdTokenstringThe ID of the token.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard