Accessing protocol settings
- Last Updated: May 12, 2023
- 1 minute read
- WhatsUp Gold
- Version 2026
- Version 2025
- Version 2024
- Version 2023.1
When a Configuration Management script runs, it executes against a particular device. The script uses the device's SSH or Telnet credentials to login to the device. Sometimes it is necessary for a script to directly access the protocol settings being used in a set of credentials. The protocol settings can be accessed through the variables listed in the following table.
Note: The values of these variables are read-only and cannot be modified by scripts, though scripts are free to reference their values.
Name | Description | Example |
|---|---|---|
|
Settings.UserName |
The SSH or Telnet username. |
admin |
|
Settings.Password |
The SSH or Telnet password. |
secret |
|
Settings.PrivilegedPassword |
The enable or privileged mode password. |
supersecret |