askldjd opened a new issue, #22348:
URL: https://github.com/apache/superset/issues/22348

   #### How to reproduce the bug
   
   In the [tutorial](https://superset.apache.org/docs/databases/snowflake/), 
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](https://superset.apache.org/docs/miscellaneous/importing-exporting-datasources/).
   
   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](https://github.com/apache/superset/blob/e98943e5805fd23c4b3018bee342873f19ee6546/superset/db_engine_specs/snowflake.py#L299).
 
   
   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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to