Open jason-d-hall opened 1 year ago
Adds functions, tests, and documentation for class methods SnapAdmin.get_device_login() SnapAdmin.get_device_passwd()
NO PR / I had a use case for SnapAdmin pulling username and password from environment variables.
Pulled password from command line or the inventory
Still pulls from command line or inventory, but with an added check of the environment variables JSNAPY_USER and JSNAPY_PASSWORD
JSNAPY_USER
JSNAPY_PASSWORD
Yes
What does this PR do?
Adds functions, tests, and documentation for class methods SnapAdmin.get_device_login() SnapAdmin.get_device_passwd()
What issues does this PR fix or reference?
NO PR / I had a use case for SnapAdmin pulling username and password from environment variables.
Previous Behavior
Pulled password from command line or the inventory
New Behavior
Still pulls from command line or inventory, but with an added check of the environment variables
JSNAPY_USER
andJSNAPY_PASSWORD
Tests written?
Yes