mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 06:28:22 +00:00
Snowflake private key fix (#4031)
* snowflake-private-key-fixed * ran-core_bump_version_dev
This commit is contained in:
parent
fc92656502
commit
01336853ef
@ -7,5 +7,5 @@ Provides metadata version information.
|
||||
|
||||
from incremental import Version
|
||||
|
||||
__version__ = Version("metadata", 0, 9, 0, dev=20)
|
||||
__version__ = Version("metadata", 0, 9, 0, dev=21)
|
||||
__all__ = ["__version__"]
|
||||
|
||||
@ -10,7 +10,10 @@
|
||||
"password": "password",
|
||||
"database": "database_name",
|
||||
"warehouse": "warehouse_name",
|
||||
"account": "account.region_name.cloud_service"
|
||||
"account": "account.region_name.cloud_service",
|
||||
"connectionArguments": {
|
||||
"private_key": "private_key"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourceConfig": {
|
||||
|
||||
@ -62,9 +62,9 @@ class SnowflakeSource(SQLSource):
|
||||
format=serialization.PrivateFormat.PKCS8,
|
||||
encryption_algorithm=serialization.NoEncryption(),
|
||||
)
|
||||
config.serviceConnection.__root__.config.connectionArguments.private_key = (
|
||||
pkb
|
||||
)
|
||||
config.serviceConnection.__root__.config.connectionArguments.private_key = (
|
||||
pkb
|
||||
)
|
||||
|
||||
super().__init__(config, metadata_config)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user