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

Support DUO MFA token caching under linux #908

Closed
nickperrott opened this issue Mar 10, 2022 · 1 comment
Closed

Support DUO MFA token caching under linux #908

nickperrott opened this issue Mar 10, 2022 · 1 comment
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@nickperrott
Copy link

nickperrott commented Mar 10, 2022

We are using this provider under a Linux container and we have Snowflake MFA enabled per user using the DUO push mechanism.

Unfortunately, the provider doesn't cache the MFA token, so we are pushed a new approval request each time we run. Sometimes for multiple times per deployment.

The solution to this appears like it would be quite simple. I also had a similar issue with the Snowflake Python connector and adding the following client parameters fixed it:

  • authenticator=username_password_mfa
  • client_store_temporary_credential=True
  • client_request_mfa_token=True

From a quick look at the design of the provider, it appears that it would be quite straight-forward to also add these parameters to the provider.

@nickperrott nickperrott added the feature-request Used to mark issues with provider's missing functionalities label Mar 10, 2022
@sfc-gh-dszmolka
Copy link
Collaborator

(first the underlying gosnowflake connector needed capability to support connection/mfa caching. this has been added ~3 weeks back and released with 1.6.17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

2 participants