Synopsis
[Registration] |
"[-sys subsystem number]" is the option of Systemwalker Operation Manager EE.
Description
The jobschsetauthinfo command registers/deletes/references the credential for the REST execution job to connect to the cloud service.
Options
-add
Register the credential based on the information in the definition file. If the same credential already exists, it is overwritten.
Definition file
Specify the file name by storing the common base credential control statement (JSON format).
When you register multiple credentials, you write multiple credentials in JSON list format.
For details about the credential control statement, refer to the "4.9.1 Credential Control Statement [Windows][Linux]".
-del
Deletes the credentials for the specified credential name.
-show
Browses the credentials for the specified credential name.
If no credential name is specified, a list of registered credentials is displayed.
The following information is displayed with a value of ***.
Password for BASIC authentication
Authentication token for bearer token authentication
Secret access key for AWS_SigV4 authentication
Client secret for Oauth 2.0 authentication
Password for proxy server authentication
Any key value you set
Credential Name
Specify the credential name of the credential to delete or refer.
-sys Subsystem number
In the system with multiple subsystems, this option is used to specify a subsystem as an operating target. Specify the number of the subsystem that contains the project that you want to delete, in the range of 0 to 9. If this option is omitted, subsystem 0 is used.
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
Value other than 0 | Abnormal termination |
Command Location
Windows | <Systemwalker Operation Manager installation directory> \MpWalker.JM\bin |
Linux | /usr/bin |
Privilege Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Examples
Registration
jobschsetauthinfo -add /tmp/authinfo.json |
Deletion
jobschsetauthinfo -del test1 |
References
jobschsetauthinfo -show test1 |
Execution Results/Output Format
Example of output with the -add/-del option
No standard output.
Example of output with the -show option
jobschsetauthinfo -show test1 |
Caution
If the definition file contains an error, an error occurs when the jobschsetauthinfo command is executed.
When the master schedule manager distributes schedule information, the credential registered with the jobschsetauthinfo command is not distributed. Therefore, set the required credential on the schedule server in advance.
The credential registered by the jobschsetauthinfo command is extracted and distributed as part of the schedule information of the job scheduler.