7.3

Table Of Contents
Working with Key Pairs 10
You use the keyValuePair data element of the work-item service to list, create, and update key pairs.
For information about using the vRealize Automation application user interface to work with key pairs, see
the IaaS Configuration documentation.
Each example for this use case lists a curl command with respective JSON response, plus input and
output parameters. The same set of prerequisites applies to each example.
This chapter includes the following topics:
n
Prerequisites for Working with Key Pairs
n
Get a Key Pair List Example
n
Create a Key Pair Example
n
Query a Key Pair Example
n
Update a Key Pair Example
n
Delete a Key Pair Example
Prerequisites for Working with Key Pairs
Satisfy the following conditions before performing any tasks for this use case.
n
Log in to vRealize Automation as a tenant administrator.
n
Verify that the appliance name and fully qualified domain name of the vRealize Automation instance
are available.
n
Verify that you have a valid HTTP bearer token that matches your login credentials. See Chapter 2
REST API Authentication.
Get a Key Pair List Example
GET /api/keyPairs gets a list of valid key pairs.
VMware, Inc.
290