Authentication
Login¶
Most KICS features required an authenticated session on a KICS Platform server. E.g:
- Creation and management of applications and data types
- Deployment of applications on Nodes
- Retrieval of historical time series data
This can be achieved through the following command:
kelvin auth login <sub-domain>.kelvininc.com
Type your username, password and the 2-Factor authentication token:
Enter your username: john@example.com
Enter your password: <type your password>
Enter 2 Factor Authentication (2FA) one-time password (blank if not required): <type your 2FA token>
Logout¶
To logout from an existing session:
kelvin auth logout
Retrieve Auth Token¶
For advanced users, you can retrieve the authentication token for the current session using the following command:
kelvin auth token
Additional options such as --full and --margin are available and allow the user to, respectively, get the full token
and set the minimum expiry time of the token.