Enable and Disable Credentials
Enable 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
-
Enable a credential by using:
$ omcli enable_credential agent CREDENTIAL_NAME [ TARGETNAME:TARGETTYPE | -global ]
The command enables the specified credential.
Where:
-
CREDENTIAL_NAME
: is the credential name. -
TARGETNAME:TARGETTYPE
: enables only the credentials with the local nameCREDENTIAL_NAME
within the entity's scope.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
: enables the credentials with the global nameCREDENTIAL_NAME
.
-
Disable 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
-
Disable a credential by using:
$ omcli disable_credential agent CREDENTIAL_NAME [ TARGETNAME:TARGETTYPE | -global ]
The command disables the specified credential.
Where:
-
CREDENTIAL_NAME
: is the credential name. -
TARGETNAME:TARGETTYPE
: disables only the credentials with the local nameCREDENTIAL_NAME
within the entity's scope.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
: disables only the credentials with the global nameCREDENTIAL_NAME
.
-