pulumi-snowflake 2.3.0a1752907264__py3-none-any.whl → 2.3.0a1753398370__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -1
- pulumi_snowflake/_inputs.py +16796 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2088 -2089
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15510 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1752907264.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,17 +21,17 @@ __all__ = [
|
|
|
22
21
|
@pulumi.output_type
|
|
23
22
|
class TokenAccessor(dict):
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
client_id:
|
|
26
|
-
client_secret:
|
|
27
|
-
redirect_uri:
|
|
28
|
-
refresh_token:
|
|
29
|
-
token_endpoint:
|
|
24
|
+
client_id: _builtins.str,
|
|
25
|
+
client_secret: _builtins.str,
|
|
26
|
+
redirect_uri: _builtins.str,
|
|
27
|
+
refresh_token: _builtins.str,
|
|
28
|
+
token_endpoint: _builtins.str):
|
|
30
29
|
"""
|
|
31
|
-
:param
|
|
32
|
-
:param
|
|
33
|
-
:param
|
|
34
|
-
:param
|
|
35
|
-
:param
|
|
30
|
+
:param _builtins.str client_id: 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_ID` environment variable.
|
|
31
|
+
:param _builtins.str client_secret: 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_SECRET` environment variable.
|
|
32
|
+
:param _builtins.str redirect_uri: 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_URI` environment variable.
|
|
33
|
+
:param _builtins.str refresh_token: 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_TOKEN` environment variable.
|
|
34
|
+
:param _builtins.str token_endpoint: 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_ENDPOINT` environment variable.
|
|
36
35
|
"""
|
|
37
36
|
pulumi.set(__self__, "client_id", client_id)
|
|
38
37
|
pulumi.set(__self__, "client_secret", client_secret)
|
|
@@ -40,41 +39,41 @@ class TokenAccessor(dict):
|
|
|
40
39
|
pulumi.set(__self__, "refresh_token", refresh_token)
|
|
41
40
|
pulumi.set(__self__, "token_endpoint", token_endpoint)
|
|
42
41
|
|
|
43
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
44
43
|
@pulumi.getter(name="clientId")
|
|
45
|
-
def client_id(self) ->
|
|
44
|
+
def client_id(self) -> _builtins.str:
|
|
46
45
|
"""
|
|
47
46
|
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_ID` environment variable.
|
|
48
47
|
"""
|
|
49
48
|
return pulumi.get(self, "client_id")
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter(name="clientSecret")
|
|
53
|
-
def client_secret(self) ->
|
|
52
|
+
def client_secret(self) -> _builtins.str:
|
|
54
53
|
"""
|
|
55
54
|
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_SECRET` environment variable.
|
|
56
55
|
"""
|
|
57
56
|
return pulumi.get(self, "client_secret")
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
@pulumi.getter(name="redirectUri")
|
|
61
|
-
def redirect_uri(self) ->
|
|
60
|
+
def redirect_uri(self) -> _builtins.str:
|
|
62
61
|
"""
|
|
63
62
|
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_URI` environment variable.
|
|
64
63
|
"""
|
|
65
64
|
return pulumi.get(self, "redirect_uri")
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter(name="refreshToken")
|
|
69
|
-
def refresh_token(self) ->
|
|
68
|
+
def refresh_token(self) -> _builtins.str:
|
|
70
69
|
"""
|
|
71
70
|
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_TOKEN` environment variable.
|
|
72
71
|
"""
|
|
73
72
|
return pulumi.get(self, "refresh_token")
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter(name="tokenEndpoint")
|
|
77
|
-
def token_endpoint(self) ->
|
|
76
|
+
def token_endpoint(self) -> _builtins.str:
|
|
78
77
|
"""
|
|
79
78
|
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_ENDPOINT` environment variable.
|
|
80
79
|
"""
|
pulumi_snowflake/config/vars.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,7 +21,7 @@ __config__ = pulumi.Config('snowflake')
|
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
class _ExportableConfig(types.ModuleType):
|
|
25
|
-
@property
|
|
24
|
+
@_builtins.property
|
|
26
25
|
def account_name(self) -> Optional[str]:
|
|
27
26
|
"""
|
|
28
27
|
Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
@@ -31,7 +30,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
31
30
|
"""
|
|
32
31
|
return __config__.get('accountName')
|
|
33
32
|
|
|
34
|
-
@property
|
|
33
|
+
@_builtins.property
|
|
35
34
|
def authenticator(self) -> Optional[str]:
|
|
36
35
|
"""
|
|
37
36
|
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
@@ -41,14 +40,14 @@ class _ExportableConfig(types.ModuleType):
|
|
|
41
40
|
"""
|
|
42
41
|
return __config__.get('authenticator')
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
def client_ip(self) -> Optional[str]:
|
|
46
45
|
"""
|
|
47
46
|
IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
48
47
|
"""
|
|
49
48
|
return __config__.get('clientIp')
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
def client_request_mfa_token(self) -> Optional[str]:
|
|
53
52
|
"""
|
|
54
53
|
When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
|
|
@@ -56,7 +55,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
56
55
|
"""
|
|
57
56
|
return __config__.get('clientRequestMfaToken')
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
def client_store_temporary_credential(self) -> Optional[str]:
|
|
61
60
|
"""
|
|
62
61
|
When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
|
|
@@ -64,7 +63,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
64
63
|
"""
|
|
65
64
|
return __config__.get('clientStoreTemporaryCredential')
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
def client_timeout(self) -> Optional[int]:
|
|
69
68
|
"""
|
|
70
69
|
The timeout in seconds for the client to complete the authentication. Can also be sourced from the
|
|
@@ -72,7 +71,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
72
71
|
"""
|
|
73
72
|
return __config__.get_int('clientTimeout')
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
def disable_console_login(self) -> Optional[str]:
|
|
77
76
|
"""
|
|
78
77
|
Indicates whether console login should be disabled in the driver. Can also be sourced from the
|
|
@@ -80,7 +79,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
80
79
|
"""
|
|
81
80
|
return __config__.get('disableConsoleLogin')
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
def disable_query_context_cache(self) -> Optional[bool]:
|
|
85
84
|
"""
|
|
86
85
|
Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
|
|
@@ -88,14 +87,14 @@ class _ExportableConfig(types.ModuleType):
|
|
|
88
87
|
"""
|
|
89
88
|
return __config__.get_bool('disableQueryContextCache')
|
|
90
89
|
|
|
91
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
92
91
|
def disable_telemetry(self) -> Optional[bool]:
|
|
93
92
|
"""
|
|
94
93
|
Disables telemetry in the driver. Can also be sourced from the `DISABLE_TELEMETRY` environment variable.
|
|
95
94
|
"""
|
|
96
95
|
return __config__.get_bool('disableTelemetry')
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
def driver_tracing(self) -> Optional[str]:
|
|
100
99
|
"""
|
|
101
100
|
Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
|
|
@@ -103,7 +102,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
103
102
|
"""
|
|
104
103
|
return __config__.get('driverTracing')
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
def external_browser_timeout(self) -> Optional[int]:
|
|
108
107
|
"""
|
|
109
108
|
The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
|
|
@@ -111,7 +110,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
111
110
|
"""
|
|
112
111
|
return __config__.get_int('externalBrowserTimeout')
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
def host(self) -> Optional[str]:
|
|
116
115
|
"""
|
|
117
116
|
Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
|
|
@@ -119,7 +118,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
119
118
|
"""
|
|
120
119
|
return __config__.get('host') or _utilities.get_env('SNOWFLAKE_HOST')
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
def include_retry_reason(self) -> Optional[str]:
|
|
124
123
|
"""
|
|
125
124
|
Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
|
|
@@ -127,7 +126,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
127
126
|
"""
|
|
128
127
|
return __config__.get('includeRetryReason')
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
def insecure_mode(self) -> Optional[bool]:
|
|
132
131
|
"""
|
|
133
132
|
If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the
|
|
@@ -136,7 +135,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
136
135
|
"""
|
|
137
136
|
return __config__.get_bool('insecureMode')
|
|
138
137
|
|
|
139
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
140
139
|
def jwt_client_timeout(self) -> Optional[int]:
|
|
141
140
|
"""
|
|
142
141
|
The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
|
|
@@ -144,14 +143,14 @@ class _ExportableConfig(types.ModuleType):
|
|
|
144
143
|
"""
|
|
145
144
|
return __config__.get_int('jwtClientTimeout')
|
|
146
145
|
|
|
147
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
148
147
|
def jwt_expire_timeout(self) -> Optional[int]:
|
|
149
148
|
"""
|
|
150
149
|
JWT expire after timeout in seconds. Can also be sourced from the `SNOWFLAKE_JWT_EXPIRE_TIMEOUT` environment variable.
|
|
151
150
|
"""
|
|
152
151
|
return __config__.get_int('jwtExpireTimeout')
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
def keep_session_alive(self) -> Optional[bool]:
|
|
156
155
|
"""
|
|
157
156
|
Enables the session to persist even after the connection is closed. Can also be sourced from the
|
|
@@ -159,7 +158,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
159
158
|
"""
|
|
160
159
|
return __config__.get_bool('keepSessionAlive')
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
def login_timeout(self) -> Optional[int]:
|
|
164
163
|
"""
|
|
165
164
|
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
@@ -167,7 +166,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
167
166
|
"""
|
|
168
167
|
return __config__.get_int('loginTimeout')
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
def max_retry_count(self) -> Optional[int]:
|
|
172
171
|
"""
|
|
173
172
|
Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
|
|
@@ -175,7 +174,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
175
174
|
"""
|
|
176
175
|
return __config__.get_int('maxRetryCount')
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
def ocsp_fail_open(self) -> Optional[str]:
|
|
180
179
|
"""
|
|
181
180
|
True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
@@ -183,7 +182,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
183
182
|
"""
|
|
184
183
|
return __config__.get('ocspFailOpen')
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
def okta_url(self) -> Optional[str]:
|
|
188
187
|
"""
|
|
189
188
|
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
|
|
@@ -192,7 +191,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
192
191
|
"""
|
|
193
192
|
return __config__.get('oktaUrl')
|
|
194
193
|
|
|
195
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
196
195
|
def organization_name(self) -> Optional[str]:
|
|
197
196
|
"""
|
|
198
197
|
Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
|
|
@@ -201,7 +200,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
201
200
|
"""
|
|
202
201
|
return __config__.get('organizationName')
|
|
203
202
|
|
|
204
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
205
204
|
def params(self) -> Optional[str]:
|
|
206
205
|
"""
|
|
207
206
|
Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters).
|
|
@@ -209,7 +208,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
209
208
|
"""
|
|
210
209
|
return __config__.get('params')
|
|
211
210
|
|
|
212
|
-
@property
|
|
211
|
+
@_builtins.property
|
|
213
212
|
def passcode(self) -> Optional[str]:
|
|
214
213
|
"""
|
|
215
214
|
Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from
|
|
@@ -217,7 +216,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
217
216
|
"""
|
|
218
217
|
return __config__.get('passcode')
|
|
219
218
|
|
|
220
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
221
220
|
def passcode_in_password(self) -> Optional[bool]:
|
|
222
221
|
"""
|
|
223
222
|
False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
|
|
@@ -225,7 +224,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
225
224
|
"""
|
|
226
225
|
return __config__.get_bool('passcodeInPassword')
|
|
227
226
|
|
|
228
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
229
228
|
def password(self) -> Optional[str]:
|
|
230
229
|
"""
|
|
231
230
|
Password for user + password or
|
|
@@ -235,7 +234,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
235
234
|
"""
|
|
236
235
|
return __config__.get('password') or _utilities.get_env('SNOWFLAKE_PASSWORD')
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
def port(self) -> Optional[int]:
|
|
240
239
|
"""
|
|
241
240
|
Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
|
|
@@ -243,11 +242,11 @@ class _ExportableConfig(types.ModuleType):
|
|
|
243
242
|
"""
|
|
244
243
|
return __config__.get_int('port') or _utilities.get_env_int('SNOWFLAKE_PORT')
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
def preview_features_enabled(self) -> Optional[str]:
|
|
248
247
|
return __config__.get('previewFeaturesEnabled')
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
def private_key(self) -> Optional[str]:
|
|
252
251
|
"""
|
|
253
252
|
Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
@@ -255,7 +254,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
255
254
|
"""
|
|
256
255
|
return __config__.get('privateKey')
|
|
257
256
|
|
|
258
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
259
258
|
def private_key_passphrase(self) -> Optional[str]:
|
|
260
259
|
"""
|
|
261
260
|
Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
|
|
@@ -263,7 +262,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
263
262
|
"""
|
|
264
263
|
return __config__.get('privateKeyPassphrase') or _utilities.get_env('SNOWFLAKE_PRIVATE_KEY_PASSPHRASE')
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
def profile(self) -> Optional[str]:
|
|
268
267
|
"""
|
|
269
268
|
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
@@ -271,7 +270,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
271
270
|
"""
|
|
272
271
|
return __config__.get('profile')
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
def protocol(self) -> Optional[str]:
|
|
276
275
|
"""
|
|
277
276
|
A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
|
|
@@ -279,7 +278,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
279
278
|
"""
|
|
280
279
|
return __config__.get('protocol') or _utilities.get_env('SNOWFLAKE_PROTOCOL')
|
|
281
280
|
|
|
282
|
-
@property
|
|
281
|
+
@_builtins.property
|
|
283
282
|
def request_timeout(self) -> Optional[int]:
|
|
284
283
|
"""
|
|
285
284
|
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
@@ -287,7 +286,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
287
286
|
"""
|
|
288
287
|
return __config__.get_int('requestTimeout')
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
def role(self) -> Optional[str]:
|
|
292
291
|
"""
|
|
293
292
|
Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
|
|
@@ -295,7 +294,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
295
294
|
"""
|
|
296
295
|
return __config__.get('role') or _utilities.get_env('SNOWFLAKE_ROLE')
|
|
297
296
|
|
|
298
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
299
298
|
def skip_toml_file_permission_verification(self) -> Optional[bool]:
|
|
300
299
|
"""
|
|
301
300
|
False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
|
|
@@ -305,7 +304,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
305
304
|
"""
|
|
306
305
|
return __config__.get_bool('skipTomlFilePermissionVerification')
|
|
307
306
|
|
|
308
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
309
308
|
def tmp_directory_path(self) -> Optional[str]:
|
|
310
309
|
"""
|
|
311
310
|
Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
@@ -313,7 +312,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
313
312
|
"""
|
|
314
313
|
return __config__.get('tmpDirectoryPath')
|
|
315
314
|
|
|
316
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
317
316
|
def token(self) -> Optional[str]:
|
|
318
317
|
"""
|
|
319
318
|
Token to use for OAuth and other forms of token based auth. Can also be sourced from the `SNOWFLAKE_TOKEN` environment
|
|
@@ -321,11 +320,11 @@ class _ExportableConfig(types.ModuleType):
|
|
|
321
320
|
"""
|
|
322
321
|
return __config__.get('token')
|
|
323
322
|
|
|
324
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
325
324
|
def token_accessor(self) -> Optional[str]:
|
|
326
325
|
return __config__.get('tokenAccessor')
|
|
327
326
|
|
|
328
|
-
@property
|
|
327
|
+
@_builtins.property
|
|
329
328
|
def use_legacy_toml_file(self) -> Optional[bool]:
|
|
330
329
|
"""
|
|
331
330
|
False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
|
|
@@ -334,14 +333,14 @@ class _ExportableConfig(types.ModuleType):
|
|
|
334
333
|
"""
|
|
335
334
|
return __config__.get_bool('useLegacyTomlFile')
|
|
336
335
|
|
|
337
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
338
337
|
def user(self) -> Optional[str]:
|
|
339
338
|
"""
|
|
340
339
|
Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
341
340
|
"""
|
|
342
341
|
return __config__.get('user')
|
|
343
342
|
|
|
344
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
345
344
|
def validate_default_parameters(self) -> Optional[str]:
|
|
346
345
|
"""
|
|
347
346
|
True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
@@ -349,7 +348,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
349
348
|
"""
|
|
350
349
|
return __config__.get('validateDefaultParameters')
|
|
351
350
|
|
|
352
|
-
@property
|
|
351
|
+
@_builtins.property
|
|
353
352
|
def warehouse(self) -> Optional[str]:
|
|
354
353
|
"""
|
|
355
354
|
Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced
|