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

Allow connection re-use #19

Closed
sfc-gh-jhollan opened this issue Oct 6, 2022 · 1 comment · Fixed by #66
Closed

Allow connection re-use #19

sfc-gh-jhollan opened this issue Oct 6, 2022 · 1 comment · Fixed by #66

Comments

@sfc-gh-jhollan
Copy link
Collaborator

You can technically authenticate via oauth today. If you create a config setting like the below in ~/.snowsql/config it will prompt you to login with a browser and run the command:

[connections.myaccount]
username = jondoe
accountname = snow123
authenticator = externalbrowser
rolename = ACCOUNTADMIN

HOWEVER, it will make you login every single time you run any command. Would be great if the CLI could cache the tokens / connection and re-use as log as that session is valid.

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