Article 5MVV3 Reading password when it prompts in Automation

Reading password when it prompts in Automation

by
Pavanchowdary
from LinuxQuestions.org on (#5MVV3)
Hi,

Pavan here,

I've been working on automation using shell script.
I'll connect ro snowflake using snowsql command. Which it will ask password. Here i need to automate the password reading.Can anyone help me on that please.
I've been thinking of using
read -p "password: " -s password

Thanks
Pavanlatest?d=yIl2AUoC8zA latest?i=5snPC76LJnw:vySYA-32EA0:F7zBnMy latest?i=5snPC76LJnw:vySYA-32EA0:V_sGLiP latest?d=qj6IDK7rITs latest?i=5snPC76LJnw:vySYA-32EA0:gIN9vFw5snPC76LJnw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments