Object tool and Passwords

Started by gmonk63, March 13, 2026, 07:04:47 PM

Previous topic - Next topic

gmonk63

Greetings,  can the passwords stored for services such as snmp or others be used as a variable in object tools ?  If I have a tool that runs a server command  for example   (tool -u user -p password  -scan) I would like to supplement with %user  %password or something similar to avoid using plain text.


Thanks 

gmonk63

The documentation refences the following

There's also a number of system custom attributes that are accessible from NXSL or via the %{name} macro, but are never sent to the Management client. These can be used, for example, to invoke a SSH client using Object Tools to supply then node's SSH credentials to the command line.

Does this mean %{ssh.login} %{ssh.password} can be use within object tool commands ?  Where is this derived from ?  is it pulled from the SSH credentials store or is this strictly for use with Agents