Changing setting values in security mode
From V2.6.0, OneCLI supports users to change the setting values in the security mode without specifying them in the command line. In the security mode, OneCLI encrypts the setting values and saves them in the file specified by users in OneCLI config file.
Note
Only the config set command supports this function.
Steps
Run the encrypt command to encrypt the file with plain text setting values.
NoteThe template file is available inSample/setting.json. Sample command: OneCli encrypt --configfile setting.json --unattended
Remove the file.
Run the OneCLI config set command to change the setting name of the file with plain text setting values information.
NoteIt is unnecessary for the user to specify the setting values when running the set command.
- Sample command:
OneCli config set IMM.Password.1
Give feedback