get_named_credential
Displays named credential details.
Standard Mode
emcli get_named_credential -cred_owner=<owner> -cred_name=<name> -out=<filename>
Interactive or Script Mode
get_named_credential (cred_owner=<owner> ,cred_name=<name> ,out=<filename>)
Options
-
cred_owner
Owner of the credential.
-
cred_name
Required credential name.
-
out
Output file name. The same file can be used as the input properties file for create_named_credential and modify_named_credential.
Examples
These examples display the details of the named credential NC1 owned by the current logged in user.
Example 1 - Command-Line
emcli get_named_credential -cred_name=NC1
Example 2 - Scripting and Interactive
get_named_credential (cred_name="NC1")
These examples display the details of the named credential NC2 owned by the Administrator CREDS_MGR.
Example 3 - Command-Line
emcli get_named_credential -cred_name=NC2 -cred_owner=CREDS_MGR
Example 4 - Scripting and Interactive
get_named_credential (cred_name="NC2" ,cred_owner="CREDS_MGR")