Remove Credentials
Remove credentials:
-
Login as the user who installed the agent.
$ su oracle
-
Navigate to the
omcli
directory location.$ cd <AGENT_BASE_DIR>/agent_inst/bin
-
Start the agent if it’s not already running.
$ omcli start agent
-
Remove a credential by using:
$ omcli remove_credential agent CREDENTIAL_NAME [ TARGETNAME:TARGETTYPE | -global ]
The command removes a credential from the agent with name
CREDENTIAL_NAME
.Where:
-
CREDENTIAL_NAME
: is the credential name. -
TARGETNAME:TARGETTYPE
: is the entity name. You want to remove a credential from the agent with the specific entity name:TARGETNAME:TARGETTYPE
.TARGETNAME is the name part of the target id of the credential definition.
TARGETTYPE is the type part of the target id of the credential definition.
-
—global
: removes a credential from the agent with global nameCREDENTIAL_NAME
.
-