microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
337 stars 59 forks source link

Enable entering the password through standard input or by being prompted for it #262

Open stuartpa opened 1 year ago

stuartpa commented 1 year ago

Enable entering the password through standard input or by being prompted for it? sqlcmd users are generally accustomed to the password prompt in interactive mode, and ci/cd pipelines that use Azure CLI can pipe a password to az devops login directly using stdin. We could offer both models as well.