VMware Cloud on AWS
Authentication

You can authenticate to
VMware Cloud on AWS
by using a refresh token.
You can obtain a refresh token from your
VMware Cloud on AWS
user profile under the Access Tokens area, or from the
VMware Cloud on AWS
administrators in your organization. After you receive a refresh token, you can provide it to DCLI when prompted. DCLI prompts for a refresh token when you try to access
VMware Cloud on AWS
.
./dcli +vmc +i Refresh Token:
The refresh token is provided in a secure way. Be careful that you are using the copy/paste functionality of your terminal correctly to avoid pasting the refresh token more than once. After you provide the refresh token, DCLI asks whether you want to save it to the credential store. If you choose to save the refresh token, you will not need to provide it each time you connect to
VMware Cloud on AWS
.

Updating the Refresh Token

The following example illustrates how you can update your
VMware Cloud on AWS
refresh token.
  1. Remove the old refresh token.
    ./dcli +vmc +credstore-remove
  2. Connect to
    VMware Cloud on AWS
    and provide the new refresh token when prompted.
    ./dcli +vmc Refresh Token: