Log into cdswctl
This topic describes how to log into cdswctl
.
- Open the Model CLI client.
-
Run the following command while specifying the actual values for the variables:
cdswctl login -u <workbench_url> -n <username> -y <legacy_api_key>
where- workbench_url is the workbench URL including the protocol (http(s)://domain.com)
- username is your user name on the workbench
- legacy_api_key is the API key that you can obtain from the Cloudera AI UI. Go to Settings > API Keys and copy the Legacy API Key (and not the API Key).
To see more information about the login command parameters, runcdswctl login --help
If all goes well, then "Login succeeded" displays.