Lists vaults in the compartment.

GET {{baseUrl}}/20180608/vaults?compartmentId={{compartment_ocid}}&sortBy=TIMECREATED&sortOrder=DESC

Lists the vaults in the specified compartment.

As a provisioning operation, this call is subject to a Key Management limit that applies to the total number of requests across all provisioning read operations. Key Management might throttle this call to reject an otherwise valid request when the total rate of provisioning read operations exceeds 10 requests per second for a given tenancy.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment.
limitstringThe maximum number of items to return in a paginated "List" call.
pagestringThe value of the opc-next-page response header
from the previous "List" call.
sortBystringThe field to sort by. You can specify only one sort order. The default
order for TIMECREATED is descending. The default order for DISPLAYNAME
is ascending.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request. If provided, the returned request ID
will include this value. Otherwise, a random request ID will be
generated by the service.
Acceptstring

RESPONSES

status: OK

[{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","displayName":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","lifecycleState":"PENDING_DELETION","vaultType":"VIRTUAL_PRIVATE","cryptoEndpoint":"\u003cstring\u003e","managementEndpoint":"\u003cstring\u003e","definedTags":{"ullamco_175":{"in_78":{}}},"freeformTags":{"sit445":"\u003cstring\u003e","minim17":"\u003cstring\u003e"}},{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","displayName":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","lifecycleState":"PENDING_DELETION","vaultType":"DEFAULT","cryptoEndpoint":"\u003cstring\u003e","managementEndpoint":"\u003cstring\u003e","definedTags":{"consequat_0":{"occaecat_dba":{},"eu072":{}},"ipsum_c1d":{"culpa_7":{}}},"freeformTags":{"nisi_8d":"\u003cstring\u003e","nulla38":"\u003cstring\u003e","ut_e0":"\u003cstring\u003e"}}]