snowflake.Provider
The provider type for the snowflake package. By default, resources use package-wide configuration
settings, however an explicit Provider instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
authenticator: Optional[str] = None,
client_ip: Optional[str] = None,
client_request_mfa_token: Optional[str] = None,
client_store_temporary_credential: Optional[str] = None,
client_timeout: Optional[int] = None,
disable_console_login: Optional[str] = None,
disable_query_context_cache: Optional[bool] = None,
disable_telemetry: Optional[bool] = None,
driver_tracing: Optional[str] = None,
enable_single_use_refresh_tokens: Optional[bool] = None,
experimental_features_enableds: Optional[Sequence[str]] = None,
external_browser_timeout: Optional[int] = None,
host: Optional[str] = None,
include_retry_reason: Optional[str] = None,
insecure_mode: Optional[bool] = None,
jwt_client_timeout: Optional[int] = None,
jwt_expire_timeout: Optional[int] = None,
keep_session_alive: Optional[bool] = None,
login_timeout: Optional[int] = None,
max_retry_count: Optional[int] = None,
oauth_authorization_url: Optional[str] = None,
oauth_client_id: Optional[str] = None,
oauth_client_secret: Optional[str] = None,
oauth_redirect_uri: Optional[str] = None,
oauth_scope: Optional[str] = None,
oauth_token_request_url: Optional[str] = None,
ocsp_fail_open: Optional[str] = None,
okta_url: Optional[str] = None,
organization_name: Optional[str] = None,
params: Optional[Mapping[str, str]] = None,
passcode: Optional[str] = None,
passcode_in_password: Optional[bool] = None,
password: Optional[str] = None,
port: Optional[int] = None,
preview_features_enabled: Optional[Sequence[str]] = None,
private_key: Optional[str] = None,
private_key_passphrase: Optional[str] = None,
profile: Optional[str] = None,
protocol: Optional[str] = None,
request_timeout: Optional[int] = None,
role: Optional[str] = None,
skip_toml_file_permission_verification: Optional[bool] = None,
tmp_directory_path: Optional[str] = None,
token: Optional[str] = None,
token_accessor: Optional[ProviderTokenAccessorArgs] = None,
use_legacy_toml_file: Optional[bool] = None,
user: Optional[str] = None,
validate_default_parameters: Optional[str] = None,
warehouse: Optional[str] = None,
workload_identity_entra_resource: Optional[str] = None,
workload_identity_provider: Optional[str] = None)func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:snowflake
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Account
Name string - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - Authenticator string
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - Client
Ip string - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - Client
Request stringMfa Token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - Client
Store stringTemporary Credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - Client
Timeout int - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - Disable
Console stringLogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - Disable
Query boolContext Cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - Disable
Telemetry bool - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - Driver
Tracing string - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - Enable
Single boolUse Refresh Tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - Experimental
Features List<string>Enableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - External
Browser intTimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - Host string
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - Include
Retry stringReason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - Insecure
Mode bool - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - Jwt
Client intTimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - Jwt
Expire intTimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - Keep
Session boolAlive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - Login
Timeout int - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - Max
Retry intCount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - string
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - Oauth
Client stringId - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - Oauth
Client stringSecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - Oauth
Redirect stringUri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - Oauth
Scope string - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - Oauth
Token stringRequest Url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - Ocsp
Fail stringOpen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - Okta
Url string - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - Organization
Name string - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - Params Dictionary<string, string>
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- Passcode string
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - Passcode
In boolPassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - Password string
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - Port int
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - Preview
Features List<string>Enabled - Private
Key string - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - Private
Key stringPassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - Profile string
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - Protocol string
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - Request
Timeout int - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - Role string
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - Skip
Toml boolFile Permission Verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - Tmp
Directory stringPath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - Token string
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - Token
Accessor ProviderToken Accessor - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - Use
Legacy boolToml File - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - User string
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - Validate
Default stringParameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - Warehouse string
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - Workload
Identity stringEntra Resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - Workload
Identity stringProvider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
- Account
Name string - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - Authenticator string
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - Client
Ip string - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - Client
Request stringMfa Token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - Client
Store stringTemporary Credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - Client
Timeout int - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - Disable
Console stringLogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - Disable
Query boolContext Cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - Disable
Telemetry bool - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - Driver
Tracing string - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - Enable
Single boolUse Refresh Tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - Experimental
Features []stringEnableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - External
Browser intTimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - Host string
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - Include
Retry stringReason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - Insecure
Mode bool - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - Jwt
Client intTimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - Jwt
Expire intTimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - Keep
Session boolAlive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - Login
Timeout int - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - Max
Retry intCount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - string
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - Oauth
Client stringId - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - Oauth
Client stringSecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - Oauth
Redirect stringUri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - Oauth
Scope string - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - Oauth
Token stringRequest Url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - Ocsp
Fail stringOpen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - Okta
Url string - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - Organization
Name string - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - Params map[string]string
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- Passcode string
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - Passcode
In boolPassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - Password string
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - Port int
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - Preview
Features []stringEnabled - Private
Key string - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - Private
Key stringPassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - Profile string
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - Protocol string
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - Request
Timeout int - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - Role string
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - Skip
Toml boolFile Permission Verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - Tmp
Directory stringPath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - Token string
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - Token
Accessor ProviderToken Accessor Args - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - Use
Legacy boolToml File - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - User string
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - Validate
Default stringParameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - Warehouse string
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - Workload
Identity stringEntra Resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - Workload
Identity stringProvider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
- account
Name String - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - authenticator String
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - client
Ip String - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - client
Request StringMfa Token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - client
Store StringTemporary Credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - client
Timeout Integer - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - disable
Console StringLogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - disable
Query BooleanContext Cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - disable
Telemetry Boolean - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - driver
Tracing String - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - enable
Single BooleanUse Refresh Tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - experimental
Features List<String>Enableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - external
Browser IntegerTimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - host String
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - include
Retry StringReason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - insecure
Mode Boolean - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - jwt
Client IntegerTimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - jwt
Expire IntegerTimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - keep
Session BooleanAlive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - login
Timeout Integer - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - max
Retry IntegerCount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - String
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - oauth
Client StringId - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - oauth
Client StringSecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - oauth
Redirect StringUri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - oauth
Scope String - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - oauth
Token StringRequest Url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - ocsp
Fail StringOpen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - okta
Url String - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - organization
Name String - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - params Map<String,String>
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- passcode String
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - passcode
In BooleanPassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - password String
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - port Integer
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - preview
Features List<String>Enabled - private
Key String - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - private
Key StringPassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - profile String
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - protocol String
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - request
Timeout Integer - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - role String
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - skip
Toml BooleanFile Permission Verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - tmp
Directory StringPath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - token String
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - token
Accessor ProviderToken Accessor - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - use
Legacy BooleanToml File - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - user String
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - validate
Default StringParameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - warehouse String
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - workload
Identity StringEntra Resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - workload
Identity StringProvider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
- account
Name string - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - authenticator string
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - client
Ip string - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - client
Request stringMfa Token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - client
Store stringTemporary Credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - client
Timeout number - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - disable
Console stringLogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - disable
Query booleanContext Cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - disable
Telemetry boolean - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - driver
Tracing string - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - enable
Single booleanUse Refresh Tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - experimental
Features string[]Enableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - external
Browser numberTimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - host string
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - include
Retry stringReason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - insecure
Mode boolean - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - jwt
Client numberTimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - jwt
Expire numberTimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - keep
Session booleanAlive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - login
Timeout number - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - max
Retry numberCount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - string
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - oauth
Client stringId - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - oauth
Client stringSecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - oauth
Redirect stringUri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - oauth
Scope string - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - oauth
Token stringRequest Url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - ocsp
Fail stringOpen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - okta
Url string - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - organization
Name string - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - params {[key: string]: string}
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- passcode string
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - passcode
In booleanPassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - password string
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - port number
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - preview
Features string[]Enabled - private
Key string - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - private
Key stringPassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - profile string
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - protocol string
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - request
Timeout number - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - role string
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - skip
Toml booleanFile Permission Verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - tmp
Directory stringPath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - token string
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - token
Accessor ProviderToken Accessor - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - use
Legacy booleanToml File - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - user string
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - validate
Default stringParameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - warehouse string
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - workload
Identity stringEntra Resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - workload
Identity stringProvider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
- account_
name str - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - authenticator str
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - client_
ip str - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - client_
request_ strmfa_ token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - client_
store_ strtemporary_ credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - client_
timeout int - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - disable_
console_ strlogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - disable_
query_ boolcontext_ cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - disable_
telemetry bool - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - driver_
tracing str - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - enable_
single_ booluse_ refresh_ tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - experimental_
features_ Sequence[str]enableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - external_
browser_ inttimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - host str
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - include_
retry_ strreason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - insecure_
mode bool - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - jwt_
client_ inttimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - jwt_
expire_ inttimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - keep_
session_ boolalive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - login_
timeout int - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - max_
retry_ intcount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - str
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - oauth_
client_ strid - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - oauth_
client_ strsecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - oauth_
redirect_ struri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - oauth_
scope str - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - oauth_
token_ strrequest_ url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - ocsp_
fail_ stropen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - okta_
url str - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - organization_
name str - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - params Mapping[str, str]
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- passcode str
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - passcode_
in_ boolpassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - password str
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - port int
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - preview_
features_ Sequence[str]enabled - private_
key str - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - private_
key_ strpassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - profile str
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - protocol str
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - request_
timeout int - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - role str
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - skip_
toml_ boolfile_ permission_ verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - tmp_
directory_ strpath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - token str
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - token_
accessor ProviderToken Accessor Args - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - use_
legacy_ booltoml_ file - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - user str
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - validate_
default_ strparameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - warehouse str
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - workload_
identity_ strentra_ resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - workload_
identity_ strprovider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
- account
Name String - Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ACCOUNT_NAMEenvironment variable. - authenticator String
- Specifies the authentication type to use when connecting to Snowflake. Valid options are:
SNOWFLAKE|OAUTH|EXTERNALBROWSER|OKTA|SNOWFLAKE_JWT|TOKENACCESSOR|USERNAMEPASSWORDMFA|PROGRAMMATIC_ACCESS_TOKEN|OAUTH_CLIENT_CREDENTIALS|OAUTH_AUTHORIZATION_CODE|WORKLOAD_IDENTITY. Can also be sourced from theSNOWFLAKE_AUTHENTICATORenvironment variable. - client
Ip String - IP address for network checks. Can also be sourced from the
SNOWFLAKE_CLIENT_IPenvironment variable. - client
Request StringMfa Token - When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_REQUEST_MFA_TOKENenvironment variable. - client
Store StringTemporary Credential - When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the
SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIALenvironment variable. - client
Timeout Number - The timeout in seconds for the client to complete the authentication. Can also be sourced from the
SNOWFLAKE_CLIENT_TIMEOUTenvironment variable. - disable
Console StringLogin - Indicates whether console login should be disabled in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_CONSOLE_LOGINenvironment variable. - disable
Query BooleanContext Cache - Disables HTAP query context cache in the driver. Can also be sourced from the
SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHEenvironment variable. - disable
Telemetry Boolean - Disables telemetry in the driver. Can also be sourced from the
DISABLE_TELEMETRYenvironment variable. - driver
Tracing String - Specifies the logging level to be used by the driver. Valid options are:
trace|debug|info|print|warning|error|fatal|panic. Can also be sourced from theSNOWFLAKE_DRIVER_TRACINGenvironment variable. - enable
Single BooleanUse Refresh Tokens - Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the
SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENSenvironment variable. - experimental
Features List<String>Enableds - A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are:
WAREHOUSE_SHOW_IMPROVED_PERFORMANCE. - external
Browser NumberTimeout - The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUTenvironment variable. - host String
- Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_HOSTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_HOST - include
Retry StringReason - Should retried request contain retry reason. Can also be sourced from the
SNOWFLAKE_INCLUDE_RETRY_REASONenvironment variable. - insecure
Mode Boolean - If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the
SNOWFLAKE_INSECURE_MODEenvironment variable. - jwt
Client NumberTimeout - The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
SNOWFLAKE_JWT_CLIENT_TIMEOUTenvironment variable. - jwt
Expire NumberTimeout - JWT expire after timeout in seconds. Can also be sourced from the
SNOWFLAKE_JWT_EXPIRE_TIMEOUTenvironment variable. - keep
Session BooleanAlive - Enables the session to persist even after the connection is closed. Can also be sourced from the
SNOWFLAKE_KEEP_SESSION_ALIVEenvironment variable. - login
Timeout Number - Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_LOGIN_TIMEOUTenvironment variable. - max
Retry NumberCount - Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
SNOWFLAKE_MAX_RETRY_COUNTenvironment variable. - String
- Authorization URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_AUTHORIZATION_URLenvironment variable. - oauth
Client StringId - Client id for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_IDenvironment variable. - oauth
Client StringSecret - Client secret for OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_CLIENT_SECRETenvironment variable. - oauth
Redirect StringUri - Redirect URI registered in IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_REDIRECT_URIenvironment variable. - oauth
Scope String - Comma separated list of scopes. If empty it is derived from role. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_SCOPEenvironment variable. - oauth
Token StringRequest Url - Token request URL of OAuth2 external IdP. See Snowflake OAuth documentation. Can also be sourced from the
SNOWFLAKE_OAUTH_TOKEN_REQUEST_URLenvironment variable. - ocsp
Fail StringOpen - True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the
SNOWFLAKE_OCSP_FAIL_OPENenvironment variable. - okta
Url String - The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix
okta.com. Read more in Snowflake docs. Can also be sourced from theSNOWFLAKE_OKTA_URLenvironment variable. - organization
Name String - Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the Snowflake documentation. Required unless using
profile. Can also be sourced from theSNOWFLAKE_ORGANIZATION_NAMEenvironment variable. - params Map<String>
- Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
- passcode String
- Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the
SNOWFLAKE_PASSCODEenvironment variable. - passcode
In BooleanPassword - False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
SNOWFLAKE_PASSCODE_IN_PASSWORDenvironment variable. - password String
- Password for user + password or token for PAT auth. Cannot be used with
private_keyandprivate_key_passphrase. Can also be sourced from theSNOWFLAKE_PASSWORDenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PASSWORD - port Number
- Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
SNOWFLAKE_PORTenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PORT - preview
Features List<String>Enabled - private
Key String - Private Key for username+private-key auth. Cannot be used with
password. Can also be sourced from theSNOWFLAKE_PRIVATE_KEYenvironment variable. - private
Key StringPassphrase - Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the
SNOWFLAKE_PRIVATE_KEY_PASSPHRASEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PRIVATE_KEY_PASSPHRASE - profile String
- Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the
SNOWFLAKE_PROFILEenvironment variable. - protocol String
- A protocol used in the connection. Valid options are:
http|https. Can also be sourced from theSNOWFLAKE_PROTOCOLenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_PROTOCOL - request
Timeout Number - request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
SNOWFLAKE_REQUEST_TIMEOUTenvironment variable. - role String
- Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
SNOWFLAKE_ROLEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_ROLE - skip
Toml BooleanFile Permission Verification - False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the
SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATIONenvironment variable. - tmp
Directory StringPath - Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the
SNOWFLAKE_TMP_DIRECTORY_PATHenvironment variable. - token String
- Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the
authenticatortoOAUTH. Optionally, set theauthenticatorfield to the authenticator you want to use. Can also be sourced from theSNOWFLAKE_TOKENenvironment variable. - token
Accessor Property Map - If you are using the OAuth authentication flows, use the dedicated
authenticatorandoauth...fields instead. See our authentication methods guide for more information. - use
Legacy BooleanToml File - False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the
SNOWFLAKE_USE_LEGACY_TOML_FILEenvironment variable. - user String
- Username. Required unless using
profile. Can also be sourced from theSNOWFLAKE_USERenvironment variable. - validate
Default StringParameters - True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the
SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERSenvironment variable. - warehouse String
- Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the
SNOWFLAKE_WAREHOUSEenvironment variable. It can also be sourced from the following environment variable:SNOWFLAKE_WAREHOUSE - workload
Identity StringEntra Resource - The resource to use for WIF authentication on Azure environment. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCEenvironment variable. - workload
Identity StringProvider - The workload identity provider to use for WIF authentication. Can also be sourced from the
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDERenvironment variable.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Provider Resource Methods
TerraformConfig Method
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
Using TerraformConfig
terraformConfig(): Output<Provider.TerraformConfigResult>def terraform_config() -> Output[Provider.Terraform_configResult]func (r *Provider) TerraformConfig() (ProviderTerraformConfigResultOutput, error)public Output<Provider.TerraformConfigResult> TerraformConfig()TerraformConfig Result
- Result Dictionary<string, object>
- Result map[string]interface{}
- result Map<String,Object>
- result {[key: string]: any}
- result Mapping[str, Any]
- result Map<Any>
Supporting Types
ProviderTokenAccessor, ProviderTokenAccessorArgs
- Client
Id string - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - Client
Secret string - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - Redirect
Uri string - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - Refresh
Token string - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - Token
Endpoint string - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
- Client
Id string - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - Client
Secret string - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - Redirect
Uri string - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - Refresh
Token string - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - Token
Endpoint string - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
- client
Id String - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - client
Secret String - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - redirect
Uri String - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - refresh
Token String - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - token
Endpoint String - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
- client
Id string - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - client
Secret string - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - redirect
Uri string - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - refresh
Token string - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - token
Endpoint string - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
- client_
id str - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - client_
secret str - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - redirect_
uri str - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - refresh_
token str - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - token_
endpoint str - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
- client
Id String - The client ID for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_IDenvironment variable. - client
Secret String - The client secret for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRETenvironment variable. - redirect
Uri String - The redirect URI for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URIenvironment variable. - refresh
Token String - The refresh token for the OAuth provider when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKENenvironment variable. - token
Endpoint String - The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the
SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINTenvironment variable.
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
