Authenticating Username and Password by removing hard coaded values. #2871
Answered
by
ktbyers
Anirudh-Suri
asked this question in
Q&A
-
I want to write a script to find the Network devices in a network. But how can we authenticate UN and PASSWORD with out taking the hardcoded values in the script suppose in dictionary? |
Beta Was this translation helpful? Give feedback.
Answered by
ktbyers
Jul 26, 2022
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Anirudh-Suri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
input
to prompt for credentials, you can use OS environment variables and read those, you can use some sort of encrypted data store (that you then provide the key for in some way).