Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Security Credentials Commands | sagcc get security credentials
 
sagcc get security credentials
Retrieves security credentials that are associated with an installation or run-time component.
Syntax
*Command Central syntax:
sagcc get security credentials  [nodeAlias=node_alias]           
[runtimeComponentId=componentid]  [options]
        
 options:           
[{--accept | -a} content_type]           
[{--debug | -d}]           
[{--error | -r} file]           
[{--format | -f} {xml | json}]           
[{--log | -l} file]           
[{--output | -o} file]           
[{--password | -p} password]           
[{--quiet | -q}]           
[{--server | -s} url]]           
[{--username | -u} user_name]
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Description
[nodeAlias=node_alias]
Optional. Specifies the alias name of the installation for which you want to retrieve security credentials.
You can view a list of installations and their aliases using sagcc list landscape nodes.
[runtimeComponentId=componentid]
Optional. Specifies the run-time component for which you want to retrieve security credentials.
You can determine the IDs for run-time components using sagcc list inventory components.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*If you do not specify the {--format | -f} option, the default output format is XML.
*By default, if you omit an argument, the command retrieves the credentials from all items. For example, if you omit the [runtimeComponentId=componentid] argument, the command retrieves the credentials for all run-time components.
*For security reasons, the command does not return the password.
Example When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to retrieve security credentials for the Integration Server run-time component that is running on the installation with alias name “sag01”, using the authorization of the user with user name “Administrator” and password “manage”, and have the information displayed on the console in XML format:
sagcc get security credentials nodeAlias=sag01          
runtimeComponentId=IntegrationServer-instanceName --format xml       
--server http://rubicon:8090/cce --username Administrator       
--password manage