To get the token used to authenticate your session, you use the Identity Service API to get an API token. Then you use the API token as input to the IaaS API to get an access token.
Note: The process to obtain the access token is different depending upon the
vRealize Automation version.
The following procedure shows how to obtain the access token using both the Identity Service API and the IaaS API.
- For vRealize Automation version 8.0, you can use the Identity Service API alone, or you can use both the Identity Service API and IaaS API to obtain the access token.
- For vRealize Automation versions 8.0.1, 8.1 or later, you must use both the Identity Service API and IaaS API to obtain the access token. Using the token generated by the Identity Service API alone will not work due to a missing internal state.
Prerequisites
- Secure a channel between the web browser and the vRealize Automation server. Open a browser and enter the URL such as:
https://appliance.domain.com
.