Comments (3)
Thanks. I would keep this open because it's a valid bug. I hope we can solve it one way or another in the short-term (maybe in the next month-ish), so I don't think we need to document it in the README, which is more for longer term limitations.
One way to document it would be to change the code to raise NotSupportError
when trying to run dbshell
if private_key
is specified. That's probably not worthwhile in the short term though.
Let's see what response snowflakedb/snowflake-connector-python#1565 gets. If it's not accepted, we could consider adding private_key_file
and private_key_passphrase
options specific to this project.
from django-snowflake.
I think I would first raise the issue with Snowflake Connector for Python and ask if they would be willing to add private_key_file
and private_key_passphrase
options. It's not clear to me whether such boilerplate is best placed in this project as seems likely useful for other connector users.
It's possible decrypting the key as documented may not be generalizable, e.g. could a key have a different format or encoding? But it seems some form of general decryption was implemented in snowsql since it only accepts a path?
from django-snowflake.
I've filed a feature request at snowflakedb/snowflake-connector-python#1565 referencing this issue.
Should we formally document the current limitation around using the specific combo of private_key
+ manage.py dbshell
(the Python interpreter via manage.py shell
would work, and this isn't a blocker)?
If not, we can close this issue and revisit in the future depending on the feature being accepted.
from django-snowflake.
Related Issues (20)
- Unable to use the connector with external browser authentication HOT 1
- Switch to REGEXP_INSTR to avoid implicit anchoring
- Use last_query_id when retrieving last_insert_id HOT 2
- JSONField queries with complex JSON parameters don't work
- Consider changing NAME to DB_NAME HOT 2
- ROLE should be a top level config HOT 3
- instead of last_insert_id, can we set "can_return_columns_from_insert" as False? HOT 2
- Document how to authenticate with a private key HOT 1
- Datetime should be Timestamp_ntz HOT 6
- Persistent DB connection (a la `CONN_MAX_AGE`) HOT 5
- Receiving 'Error detecting the version of libcrypto' when connecting to Django HOT 1
- Slow performance HOT 3
- authenticator:externalbrowser issue HOT 3
- "The error was: too many values to unpack (expected 11)" while running inspectdb HOT 4
- Unable to perform inspectdb on tables containing dot (".") in the name HOT 2
- Backport fix for crash in `DatabaseIntrospection.get_table_description()` to Django 3.2.x HOT 2
- Exists database function generates invalid Snowflake SQL HOT 3
- Support for Snowflake Hybrid Tables HOT 1
- Erroneously Looking for Config.toml File when using DATABASES dictionary in settings.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-snowflake.