Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide password through command #154

Open
patrickpichler opened this issue May 6, 2024 · 0 comments · May be fixed by #155
Open

Provide password through command #154

patrickpichler opened this issue May 6, 2024 · 0 comments · May be fixed by #155

Comments

@patrickpichler
Copy link
Contributor

patrickpichler commented May 6, 2024

Is your feature request related to a problem? Please describe.
There are cases where the password for connecting to a database is provided by a CLI tool such as gcloud.

Describe the solution you'd like
It would be useful, if one could specify a passwdCmd, that gets run and its stdout is then used as the password.

Describe alternatives you've considered
No alternatives have been considered.

Additional context

patrickpichler added a commit to patrickpichler/sqls that referenced this issue May 6, 2024
It iso now possible to define a command that is executed in order to
optain the password. This is useful in situations, where your database
is manged by a cloud provider and you are using the cloud providers IAM
solution to gain the password.

Fixes sqls-server#154
@patrickpichler patrickpichler linked a pull request May 6, 2024 that will close this issue
patrickpichler added a commit to patrickpichler/sqls that referenced this issue May 6, 2024
It iso now possible to define a command that is executed in order to
optain the password. This is useful in situations, where your database
is manged by a cloud provider and you are using the cloud providers IAM
solution to gain the password.

Fixes sqls-server#154
patrickpichler added a commit to patrickpichler/sqls that referenced this issue May 6, 2024
It iso now possible to define a command that is executed in order to
optain the password. This is useful in situations, where your database
is manged by a cloud provider and you are using the cloud providers IAM
solution to gain the password.

Fixes sqls-server#154
patrickpichler added a commit to patrickpichler/sqls that referenced this issue Sep 13, 2024
It iso now possible to define a command that is executed in order to
optain the password. This is useful in situations, where your database
is manged by a cloud provider and you are using the cloud providers IAM
solution to gain the password.

Fixes sqls-server#154
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 a pull request may close this issue.

1 participant