Creating a Private Endpoint
Learn how to create a private endpoint in a VCN so that the external key manager can access the OCI External Key Management Service (EKMS).
Note
Ensure you explicitly delete failed Private Endpoints to avoid memory allocation issues. If a memory allocation issue persists, it might limit exhaustion even when no active private endpoints exist.
Ensure you explicitly delete failed Private Endpoints to avoid memory allocation issues. If a memory allocation issue persists, it might limit exhaustion even when no active private endpoints exist.
Use the oci kms ekm ekms-private-endpoint create command to create a new private endpoint:
oci kms ekm ekms-private-endpoint create --ca-bundle <bundle_type> --compartment-id <compartment_id>| -c <secret_name> --display-name <name> --xternal-key-manager-ip <ip address> --subnet-id, <subnet_id> --defined-tags <tags> --freeform-tags<tags>
For example:
--ca-bundle "-----BEGIN CERTIFICATE-----\nMIIFrjCCA5agAwIBAgIQAsMYA04ijAErxlDri 6cIa/\n-----END CERTIFICATE-----", --compartment-id "ocid1.compartment.region1..aaaaaaaaiexample6mjdbzlsxf576zgtlbi3", --display-name "Example EKMS PE", --external-key-manager-ip 1.2.3.4, --subnet-id "ocid1.subnet.region1.sea.aaaaaaexamplenpse5gupw56s5", --freeform-tags {"key": "value"}, --port 6758
Avoid entering confidential information.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Use the CreateEkmsPrivateEndpoint API to create private endpoint for connecting OCI External Key Management to an external key management system.
Note
Each region has a unique endpoint for create, update, and list operations for secrets. This endpoint is referred to as the control plane URL or secret management endpoint. Each region also has a unique endpoint for operations related to retrieving secret contents. This endpoint is known as the data plane URL or the secret retrieval endpoint. For regional endpoints, see the API Documentation.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.