Skip to content

Conversation

@jason-d-hall
Copy link

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 and JSNAPY_PASSWORD

Tests written?

Yes

@chidanandpujar chidanandpujar self-requested a review December 18, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant