set_awr_cred
Sets the database and host credential for the AWR Warehouse specified by the target name and target type parameters.
Format
emcli set_awr_cred
-target_name=sample_database
-target_type=oracle_database
[-db_cred=<database_named_credential>]
[-host_cred=<database_host_named_credential>]
[ ] indicates that the parameter is optionalOptions
-
target_name
Name of the target AWR Warehouse database.
-
target_type
Type of target. The possible values for target type are
oracle_database,oracle_pdb, andrac_database. -
db_cred
New named credential for the target database.
-
host_cred
New named credential for the target database host.
Output
Success/Error
Example
The following example sets the database and host credential for the target AWR
Warehouse database, sample_database:
emcli set_awr_cred
-target_name=sample_database
-target_type=oracle_database
-db_cred=SYS_CRED
-host_cred=HOST_CRED