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

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.
opc-retry-tokenstringA 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-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lifecycleState&quot;:&quot;BACKUP_IN_PROGRESS&quot;,&quot;vaultType&quot;:&quot;VIRTUAL_PRIVATE&quot;,&quot;cryptoEndpoint&quot;:&quot;\u003cstring\u003e&quot;,&quot;managementEndpoint&quot;:&quot;\u003cstring\u003e&quot;,&quot;wrappingkeyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;definedTags&quot;:{&quot;cupidatated&quot;:{&quot;eiusmod_b24&quot;:{},&quot;ex26&quot;:{}},&quot;adipisicing_49&quot;:{&quot;dolor9&quot;:{},&quot;elit22&quot;:{}},&quot;consectetur9&quot;:{&quot;Excepteur_1&quot;:{},&quot;Duis_5ac&quot;:{}}},&quot;freeformTags&quot;:{&quot;dolore3f&quot;:&quot;\u003cstring\u003e&quot;,&quot;irure_9ea&quot;:&quot;\u003cstring\u003e&quot;,&quot;sed_62&quot;:&quot;\u003cstring\u003e&quot;},&quot;isPrimary&quot;:&quot;\u003cboolean\u003e&quot;,&quot;replicaDetails&quot;:{&quot;replicationId&quot;:&quot;\u003cstring\u003e&quot;},&quot;restoredFromVaultId&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeOfDeletion&quot;:&quot;\u003cdateTime\u003e&quot;}