You use the VMware Aria Automation console to obtain an API token.

Before making a call to VMware Aria Automation, you request an API token that authenticates you for authorized API connections. The API token is used to generate and refresh the access token.

Prerequisites

Verify that you are an organization owner in VMware Aria Automation with the Administrator service role for both Automation Assembler and Automation Service Broker.
Note: To obtain a token that allows you to perform administrative setup tasks such as onboarding a team in Automation Assembler, the following steps show how to generate the token with higher privileges. For non-administrative tasks, you can generate the token with lower privileges.

Procedure

  1. Use your My VMware credentials to log in to https://console.cloud.vmware.com/csp/gateway/discovery.
  2. Click the drop-down arrow by your name.
  3. Click My Account.
  4. Click the API Tokens tab.
  5. Click GENERATE A NEW API TOKEN.
    1. Enter a Token Name.
    2. Set the Token TTL value or accept the default.
    3. Under Define Scopes, select All Roles.
    4. Click Generate.
    The Token Generated window displays a token with the name that you specified and the name of your organization.
  6. Click the COPY icon.
    Clicking COPY ensures that you capture the exact string and is more reliable than using your pointer to copy the string.
  7. Paste the string in a text file and save the file.

What to do next

Using the Automation Assembler IaaS API, you exchange the API token for an access token. See Get Your Access Token.