User Guide: DSim Cloud CLI auth command

Modified on Tue, 9 Jul at 6:07 PM

User Guide: DSim Cloud CLI auth command

Synopsis

 

mdc auth[enticate] login* | logout* [options]

 

This command will allow you to authenticate to Metrics by opening a web browser and prompting you to provide log in credentials. The logout option allows you to remove authentication credentials on your machine.


If you are a new user, this command will allow you to sign up and create an account with Metrics.



Options

login*


logout*



Example(s)

 

mdc auth login

 

After entering the above command, there will be a message printed to the terminal window asking you 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 start and manage your remote 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, you will be prompted to confirm the logout request and, upon entering yes, you will no longer be authenticated.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article