# Fails (no options, no password)
DATABASES = {
'default': {
'ENGINE': 'django_snowflake',
…
'OPTIONS': {},
},
}
All invalid values continue to fail with appropriate exceptions.
Specifying password while specifying the other options defers to the priority order in the connector.
Current implementation requires an explicit
authenticator = 'SNOWFLAKE_JWT'
value to be passed when supplying aprivate_key
config.Conventionally it should be adequate to supply only a
private_key
and have it ignorePASSWORD
without also requiringauthenticator
.This change makes passing
authenticator
optional when passing aprivate_key
value.Manually tested with configs:
All invalid values continue to fail with appropriate exceptions. Specifying password while specifying the other options defers to the priority order in the connector.