If the Oracle WebLogic Server for OCI domain you want to delete was configured to use Oracle Identity Cloud Service for authentication, then you must delete the security resources for the domain before you destroy the stack.
WARNING:Skip this procedure for an instance that was cloned, as Oracle Identity Cloud Service resources are required in the cloned instance.
You'll need the client ID and secret of an existing confidential application in Oracle Identity Cloud Service. See Create a Confidential Application.
- From your computer, run the
sshcommand to connect to the domain's Administration Server node as the
ssh -i path_to_private_key opc@node_IP_address
ssh -i /home/myuser/mykey email@example.com
- If prompted, enter the passphrase for the private key.
- Run the following command to delete the security resources for this domain.
Provide the client ID and secret of the confidential application in Oracle Identity Cloud Service.
sudo su oracle -c '/opt/scripts/idcs/delete_idcs_applications.sh idcs_app_client_id idcs_app_client_secret'
Deactivating App Gateway gateway_name... Deleting App Gateway gateway_name... Deactivating application enterprise_app_name... Deleting application enterprise_app_name... Deactivating application confidential_app_name... Deleting application confidential_app_name...