The encryptpassword command creates a file that includes an encrypted user name and password. You can specify the password file instead of the password for any Ops Center Automator command that allows the /passwordfile option.
Syntax
encryptpassword {[/user username] /passwordfile passwordfile [/authmode local | external] | /help }
Note: You are prompted to enter the password in interactive mode.
Options
| Option | Description |
|---|---|
| /user | The ID of the user who is added to the password file. |
| /passwordfile | The name of the password file (with absolute or relative path) that includes the encrypted user credentials. |
| /authmode | Specifies the authentication type, either local or external. Specify local to authenticate locally with Automator. Specify external to authenticate with Common Services. If this option is not specified, Ops Center Automator operates in the authentication mode specified by the command.auth.mode of command_user.properties. |