Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Feb 14, 2013 5:41 PM by 900880
Cannot Set Target Name in creation of Named Credential via emcli
Feb 14, 2013 5:41 PM
I am trying to create both a host named credential and a database named credential via emcli. I see the example bleow in the documentation.
emcli create_named_credential -cred_name=NC1 -auth_target_type=host -cred_type=HostCreds -attributes="HostUserName:foo;HostPassword:bar"
However this syntax creates a global credential account because target name is not specified. When I place -target_name in the command it says global
emcli create_named_credential -cred_name=CRED_NAME -auth_target_type=host -cred_type=HostCreds -target_name=hostName -attributes="HostUserName:oracle;HostPassword:secret"
WARNING: Target name/type ignored, global scope credential created.
Why is the target_name parameter being ignored?
I have the same question
Show 0 Likes
This content has been marked as final.
Show 0 replies