Syntax for Requesting a Health Services Token
GET /api/authn/all requests an authentication token for the health services API.
Input
Use the supported input parameters to control the command output.
Parameter | Description |
---|---|
URL | https://$vRA/healthbroker-proxy-server/api/authn/all |
$vRA |
Specifies the appliance name and fully qualified domain name, or IP address of the vRealize Automation server. |
$token |
Specifies a valid HTTP bearer token with necessary credentials. |
Output
The output is a text file with the token to authenticate to the health services API.
curl Command to Retrieve Directories
The following example command
requests the authentication token.
curl -X --insecure -H "accept: text/html" -H "Authorization: Bearer $token" https://$vRA/healthbroker-proxy-server/api/authn/all
The text response is the authentication token for requests to the health services API.