Create and Update Alternate Endpoints
After adding the first custom endpoint (primary endpoint) to your instance, you need to use the command line in a shell when you want to update the instance to add more endpoints (alternate endpoints). The OCI Console provides a shell editor you can use to add and update alternate endpoints.
Additionally, when it comes time to update the SSL certificate in a secret, you need to use the command line to trigger an instance update after updating the secret in the associated vault. For details, see Update a Secret in a Vault.
Note:
If you have not been managing your instance yourself, meaning your instance was managed by Oracle, after you are migrated to your own tenancy you are responsible for managing your instance's alternate endpoints and associated vaults. This includes updating the SSL certificates for alternate endpoints.To create and update alternate endpoints in a Visual Builder instance, you use the command line to send a JSON payload via thevb-instance update
command. In the command, the payload is included as alternate-custom-endpoints
parameters. For details on the vb-instance update
command, see vb-instance update in the OCI CLI Command Reference, and UpdateCustomEndpointDetails Reference in the Visual Builder API.
WARNING:
When updating alternate endpoint details using the command line, your payload must include the details of every alternate endpoint in your instance, including the details for endpoints not being updated. For example, if your instance has two alternate endpoints, and you want to update the secret in the vault for one of the alternate endpoints, the payload must still contain the details for both alternate endpoints.
To create or update an alternate endpoint: