Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional connection options #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/types/ConnectionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface ConnectionOptions {
account: string;
/** Snowflake user login name to connect with. */
username: string;
/** Optional Connection Parameters */
/**
* Specifies the authenticator to use for verifying user login credentials.
* You can set this to one of the following values:
Expand Down Expand Up @@ -89,4 +90,24 @@ export interface ConnectionOptions {
* 3600 seconds are rarely necessary or useful.
*/
clientSessionKeepAliveHeartbeatFrequency?: number;
/** Specifies the name of the client application connecting to Snowflake. */
application?: string;
/**
* Specifies the lists of hosts that the driver should connect to directly, bypassing
* the proxy server (e.g. *.amazonaws.com to bypass Amazon S3 access). For multiple hosts,
* separate the hostnames with a pipe symbol (|). You can also use an asterisk as a wild card.
* For example:
* noProxy: "*.amazonaws.com|*.my_company.com"
*/
noProxy?: string;
/** Specifies the hostname of an authenticated proxy server. */
proxyHost?: string;
/** Specifies the password for the user specified by proxyUser. */
proxyPassword?: string;
/** Specifies the port of an authenticated proxy server. */
proxyPort?: number;
/** Specifies the protocol used to connect to the authenticated proxy server. Use this property to specify the HTTP protocol: http or https. */
proxyProtocol?: string;
/** Specifies the username used to connect to an authenticated proxy server. */
proxyUser?: string;
}