Log into cdswctl

This topic describes how to log into cdswctl.

  1. Open the Model CLI client.
  2. Run the following command while specifying the actual values for the variables:
    cdswctl login -u <workspace_url> -n <username> -y <api_key>
    where
    • workspace_url is the workspace URL including the protocol (http(s)://domain.com)
    • username is your user name on the workspace
    • api_key is the API key that you can obtain from the Cloudera Machine Learning UI. Go to Settings > API Keys and copy the API Key (and not the Model API Key).
    To see more information about the login command parameters, run
    cdswctl login --help
    If all goes well, then you'll see "Login succeeded".