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

How to import Snowflake Database with the Encrypted Extra field #22348

Closed
askldjd opened this issue Dec 6, 2022 · 1 comment · Fixed by #22357
Closed

How to import Snowflake Database with the Encrypted Extra field #22348

askldjd opened this issue Dec 6, 2022 · 1 comment · Fixed by #22357
Assignees
Labels
#bug Bug report

Comments

@askldjd
Copy link
Contributor

askldjd commented Dec 6, 2022

How to reproduce the bug

In the tutorial, users may use the SECURE EXTRA field to supply a Key Pair as authentication. However, it is not clear how this can be done when the datasources are configured through YAML.

I was able to configure the database manually through the UI. However, when I tried to export the same database, the keypair field does not exist. Looking over the codebase, the import seems to suggest that it should be a field called encrypted_extra.

I tried to supply the encrypted_extra field in the datasource yaml, but the field didn't seem to make it (as indicated by the logs). Any guidance would be greatly appreciated.

Make sure to follow these steps before submitting your issue - thank you!

  • [ *] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [* ] I have reproduced the issue with at least the latest released version of superset.
  • [ *] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

@askldjd
Copy link
Contributor Author

askldjd commented Dec 7, 2022

I found the bug and I think I have a small patch for it. Will wait for further guidance to see if the patch is acceptable.
#22357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants