You can use the REST API to query a key pair that is available for the vRealize Automation tenant administrator.

About this task


  • Log in to vRealize Automation as a tenant administrator.

  • Verify that the host name and fully qualified domain name of the vRealize Automation instance are available.

  • Verify that you have a valid HTTP bearer token that matches your login credentials. See REST API Authentication.


Use the following sample command to query a key pair.
curl --insecure -H "Accept:application/json" 
-H "Authorization: Bearer $token" 

The following JSON output is returned based on the command input.

  "id": 26,
  "name": "TestKeyPair",
  "computeResourceId": "ca4dcca0-85ce-49dd-8371-4ce7c8e2d5e6",
  "secretKey": ""