Named Credentials created by SYSMAN are not accessible via emcli for other em users - "Specified database credential for SYS user does not exist."

(Doc ID 2019060.1)

Last updated on JUNE 10, 2015

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


When using non SYSMAN EM user for emcli to run the verb
The named credentials for SYS,SYSTEM,DBSMP are not detected even if FULL
access has been granted to the EM user
running the verb results in -
Specified database credential for SYS user does not exist.


Example Test Case -

Create a Template and store in the Software Library
Create Named Credentials for the target host as well as SYS, SYSTEM and DBSNMP as the SYYMAN EM user

Then create another EM user (test)
Grant FULL access to these Named Credentials

Login to emcli as the test EM user

Then run something like -

emcli create_database -sysCreds=VCAP_SYSDBA_MANAGER1
-templateName="Database_ORC112U_Guy - Database Template"
-templateStageLocation=/tmp -storageType="FS" -templateInSwlib

You'll get -
Specified database credential for SYS user does not exist.

If you change the ownership of the Named Credential to test user for say
Then you'll get the error -
Specified database credential for SYSTEM user does not exist.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms