|
Python Connector for Snowflake Connection parameters - Python Connector for Snowflake |
|
The following table describes the Snowflake connection parameters you can use in the connect() module method.
| Parameter | Description |
|---|---|
|
|
Specifies the authentication type. The possible values are:
|
|
|
Specifies the client ID of the OAuth security integration. Applies to OAuth 2.0 authentication. For information on how to obtain a client ID, see Obtaining credentials for OAuth 2.0 authentication. |
|
|
Specifies the client secret of the OAuth security integration, used together with the client ID. Applies to OAuth 2.0 authentication. For information on how to obtain a client secret, see Obtaining credentials for OAuth 2.0 authentication. |
|
|
Specifies the database to connect to. |
|
|
Specifies the hostname of the Snowflake instance. |
|
|
Specifies the passphrase for the encrypted private key. Applies to key pair authentication. For information on how to obtain a passphrase, see Obtaining credentials for key pair authentication. |
|
|
Specifies the password of the user. Applies to basic authentication. |
|
|
Specifies the path to the private key file. Applies to key pair authentication. For information on how to obtain a private key, see Obtaining credentials for key pair authentication. |
|
|
Specifies the refresh token. Applies to OAuth 2.0 authentication. For information on how to obtain a refresh token, see Obtaining credentials for OAuth 2.0 authentication. |
|
|
Specifies the role of the database user. |
|
|
Specifies the name of the database schema. |
|
|
Specifies the name of the user. Applies to basic and key pair authentication. |
|
|
Specifies the name of the warehouse. |
|
Proxy parameters |
|
|
|
Specifies the hostname or IP address of the proxy server. |
|
|
Specifies the proxy port. |
|
|
Specifies the username for proxy authentication. |
|
|
Specifies the password for proxy authentication. |
|
Other parameters |
|
|
|
Specifies the ID of a connection pool to be used for a particular connection. |
|
|
Disables connection pooling for a particular connection. The possible values are |