Creating an External vault
Use the post /v1/cckm/oci/create-external-vault
API to create an external vault.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
compartment_id | string | ID of the Oracle compartment. |
endpoint_url_hostname | string | IP address of the CipherTrust Manager or Load Balancer. FQDNs are not supported. |
endpoint_url_port | integer | Port number for the OCI external vault endpoint URL. Specify the port of the CipherTrust Manager or Load Balancer. The default port is 443 . |
issuer_id | string | ID of the issuer. |
client_application_id | string | ID of the OCI KMS application as registered on the third-party identity provider. |
vault_name | string | Name of the external vault. |
connection | string | Name or ID of the Oracle connection on the CipherTrust Manager. |
source_key_tier | string | Tier of the source. Specify the type of key source allowed in the vault. Possible option is local (CipherTrust Manager).If the source_key_tier is not specified, you can create local keys in the vault. |
policy | string | Rego policy to be associated with the vault. |
endpoint_url_port (optional) | integer | Port-Number for the OCI external vault endpoint URL. The default port is 443. |
partition_id (optional) | string | Partition ID of the Luna slot. It is required, if 'hsm-luna' is selected as source_key_tier. |
tenancy (optional) | string | Name of the OCI tenancy. It is required, if the connection is not provided. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.