Creates a new vault.
POST {{baseUrl}}/20180608/vaults
Creates a new vault. The type of vault you create determines key placement, pricing, and available options. Options include storage isolation, a dedicated service endpoint instead of a shared service endpoint for API calls, and either a dedicated hardware security module (HSM) or a multitenant HSM.
As a provisioning operation, this call is subject to a Key Management limit that applies to the total number of requests across all provisioning write operations. Key Management might throttle this call to reject an otherwise valid request when the total rate of provisioning write operations exceeds 10 requests per second for a given tenancy.
Request Body
{"compartmentId"=>"{{compartment_ocid}}", "displayName"=>"<string>", "vaultType"=>"DEFAULT", "freeformTags"=>{"nisia8"=>"<string>", "elit_30"=>"<string>", "occaecatb"=>"<string>", "non7"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique 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. | |||
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case | |
of a timeout or server error without risk of executing that same action | |||
again. Retry tokens expire after 24 hours, but can be invalidated | |||
before then due to conflicting operations (e.g., if a resource has been | |||
deleted and purged from the system, then a retry of the original | |||
creation request may be rejected). | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","displayName":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","lifecycleState":"BACKUP_IN_PROGRESS","vaultType":"VIRTUAL_PRIVATE","cryptoEndpoint":"\u003cstring\u003e","managementEndpoint":"\u003cstring\u003e","wrappingkeyId":"\u003cstring\u003e","definedTags":{"cupidatated":{"eiusmod_b24":{},"ex26":{}},"adipisicing_49":{"dolor9":{},"elit22":{}},"consectetur9":{"Excepteur_1":{},"Duis_5ac":{}}},"freeformTags":{"dolore3f":"\u003cstring\u003e","irure_9ea":"\u003cstring\u003e","sed_62":"\u003cstring\u003e"},"isPrimary":"\u003cboolean\u003e","replicaDetails":{"replicationId":"\u003cstring\u003e"},"restoredFromVaultId":"\u003cstring\u003e","timeOfDeletion":"\u003cdateTime\u003e"}