Create an Automation AccountLast Updated January 30, 2025
Automation accounts are used to access
VMware Cloud Foundation
APIs in automation scripts. - Log in to theSDDC Manager UIas a user with the ADMIN role.For more about roles, see User and Group Management.
- In the navigation pane, click.
- Get the ID for the ADMIN role.
- ExpandAPIs for managing Users.
- ExpandGET /v1/rolesand clickExecute.
- In the Response, clickPageOfRoleandRole (ADMIN).
- Copy the ID for the ADMIN role.
- Create a service account with the ADMIN role and get the service account's API key.
- ExpandPOST /v1/usersand clickUser.
- Replace the Value with:Paste the ADMIN role ID from step 3.
- ClickExecute.
- In the Response, clickPageOfUserandUser (service_account).
- Copy the API key for the service account.
- Use the service account's API key to generate an access token.
- ExpandAPIs for managing access and refresh tokens.
- ExpandPOST /v1/tokens.
- ClickTokenCreationSpec.
- Replace Value with:Paste the service account's API key from step 4.
- ClickExecute.
- In the Response, clickTokenPairandRefreshTokenand save the access and refresh tokens.