Synopsis
[Registration] jmsetauthinfo -add definition file [Deletion] jmsetauthinfo -del credential name [References] jmsetauthinfo -show [credential name] |
Description
The jmsetauthinfo command registers, deletes, and references credential used by the Systemwalker Operation Manager common base, calendar functions, and power control functions.
Option
-add
Register the credential based on the information in the definition file. If the same credential already exists, it is overwritten.
Definition file
Specifies 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 "Common Base Credential Control Statement", refer to the "Common Base Credential Control Statement".
-del
Deletes the credentials for the specified credential name.
Credential Name
Specify the credential name of the credential to delete.
-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 ***.
PowerChute User Password
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 |
Privilege Required
System administrator (user belonging to the Administrators group) privileges are required.
Cautions
If the definition file contains an error, an error occurs when the command is executed.
The credential registered by this command is not subject to the extraction and distribution of policy information.
Examples
Registration
jmsetauthinfo -add c:\tmp\authinfo.json |
Deletion
jmsetauthinfo -del powerchute |
References
jmsetauthinfo -show powerchute |
Execution Results/Output Format
Example of output with the -add/-del option
No standard output.
Example of output with the -show option
jmsetauthinfo -show powerchute { "name": "powerchute", "authType": "powerchute", "pcUser": "testuser1", "pcPasswd": "***" }