Synopsis
mdc auth[enticate] login* | logout* [options]
Most commands of the DSim Cloud CLI (other than help and the auth
) command itself require a user to be authenticated, before executing.
This command will allow users to authenticate to Metrics by opening a web browser and prompting users to provide log in credentials. The logout option allows the user to remove authentication credentials on their machine.
If you are a new user, this command will allow you to sign up and create an account with Metrics.
NOTE: As of DSim Cloud 0.2.0 release and above, a long form of this command mdc authenticate
is also supported.
* Supported as of DSim Cloud 0.6.0 release and above.
Options
* Supported as of DSim Cloud 0.6.0 release and above.
Example(s)
mdc auth login
After entering the above command, there will be a message printed to the terminal window asking users to use the web browser to continue.
A browser window will open with a dialog that looks very similar to the following:
Enter a valid email address and password and you will be authenticated to Metrics, allowing you to use the DSim Cloud CLI to create and manage your workspace.
If this is your first time using DSim Cloud, you will need to sign up for an account. For details on our Sign Up flow, see How To: Sign up to use DSim Cloud.
Once authentication is successful, a message will be printed to the terminal indicating that authentication was successful.
mdc auth logout
After executing the above command, the user will be prompted to confirm the logout request and, upon entering yes, the user will no longer be authenticated.