pulumi-snowflake 0.63.0a1734439451__py3-none-any.whl → 1.0.0a1734440141__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 +82 -74
- pulumi_snowflake/_inputs.py +12705 -4876
- pulumi_snowflake/account.py +156 -163
- pulumi_snowflake/account_parameter.py +16 -16
- pulumi_snowflake/account_role.py +9 -9
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +9 -22
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +9 -22
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +9 -22
- pulumi_snowflake/authentication_policy.py +21 -21
- pulumi_snowflake/config/__init__.pyi +8 -86
- pulumi_snowflake/config/vars.py +10 -110
- pulumi_snowflake/database.py +9 -9
- pulumi_snowflake/database_role.py +14 -14
- pulumi_snowflake/{unsafe_execute.py → execute.py} +35 -25
- pulumi_snowflake/external_oauth_integration.py +27 -27
- pulumi_snowflake/external_volume.py +11 -7
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +41 -19
- pulumi_snowflake/get_alerts.py +4 -0
- pulumi_snowflake/get_connections.py +2 -40
- pulumi_snowflake/get_cortex_search_services.py +4 -0
- pulumi_snowflake/get_current_account.py +4 -0
- pulumi_snowflake/get_current_role.py +2 -2
- pulumi_snowflake/get_database.py +4 -0
- pulumi_snowflake/get_database_role.py +4 -0
- pulumi_snowflake/get_database_roles.py +2 -6
- pulumi_snowflake/get_databases.py +2 -6
- pulumi_snowflake/get_dynamic_tables.py +4 -2
- pulumi_snowflake/get_external_functions.py +4 -0
- pulumi_snowflake/get_external_tables.py +4 -0
- pulumi_snowflake/get_failover_groups.py +4 -2
- pulumi_snowflake/get_file_formats.py +4 -0
- pulumi_snowflake/get_functions.py +4 -0
- pulumi_snowflake/get_grants.py +0 -4
- pulumi_snowflake/get_masking_policies.py +2 -6
- pulumi_snowflake/get_materialized_views.py +4 -0
- pulumi_snowflake/get_network_policies.py +2 -6
- pulumi_snowflake/get_parameters.py +4 -0
- pulumi_snowflake/get_pipes.py +4 -0
- pulumi_snowflake/get_procedures.py +4 -0
- pulumi_snowflake/get_resource_monitors.py +2 -6
- pulumi_snowflake/get_row_access_policies.py +2 -6
- pulumi_snowflake/get_schemas.py +6 -4
- pulumi_snowflake/get_secrets.py +2 -6
- pulumi_snowflake/get_security_integrations.py +2 -6
- pulumi_snowflake/get_sequences.py +4 -0
- pulumi_snowflake/get_shares.py +4 -0
- pulumi_snowflake/get_stages.py +4 -0
- pulumi_snowflake/get_storage_integrations.py +4 -0
- pulumi_snowflake/get_streamlits.py +2 -6
- pulumi_snowflake/get_streams.py +2 -6
- pulumi_snowflake/get_system_generate_scim_access_token.py +4 -0
- pulumi_snowflake/get_system_get_private_link_config.py +4 -0
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +2 -2
- pulumi_snowflake/get_tables.py +4 -0
- pulumi_snowflake/get_tags.py +2 -6
- pulumi_snowflake/get_tasks.py +0 -4
- pulumi_snowflake/get_users.py +2 -6
- pulumi_snowflake/get_views.py +2 -6
- pulumi_snowflake/get_warehouses.py +2 -6
- pulumi_snowflake/grant_account_role.py +21 -21
- pulumi_snowflake/grant_application_role.py +7 -7
- pulumi_snowflake/grant_database_role.py +28 -28
- pulumi_snowflake/grant_ownership.py +14 -14
- pulumi_snowflake/grant_privileges_to_account_role.py +14 -14
- pulumi_snowflake/grant_privileges_to_database_role.py +14 -14
- pulumi_snowflake/grant_privileges_to_share.py +42 -42
- pulumi_snowflake/legacy_service_user.py +21 -21
- pulumi_snowflake/masking_policy.py +21 -21
- pulumi_snowflake/network_policy.py +23 -23
- pulumi_snowflake/oauth_integration_for_custom_clients.py +73 -46
- pulumi_snowflake/oauth_integration_for_partner_applications.py +57 -30
- pulumi_snowflake/outputs.py +10029 -4056
- pulumi_snowflake/password_policy.py +12 -2
- pulumi_snowflake/primary_connection.py +16 -16
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +40 -527
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +16 -20
- pulumi_snowflake/row_access_policy.py +21 -21
- pulumi_snowflake/saml2_integration.py +9 -9
- pulumi_snowflake/schema.py +14 -18
- pulumi_snowflake/scim_integration.py +16 -16
- pulumi_snowflake/secondary_connection.py +16 -16
- pulumi_snowflake/secondary_database.py +16 -16
- pulumi_snowflake/secret_with_authorization_code_grant.py +28 -28
- pulumi_snowflake/secret_with_basic_authentication.py +21 -21
- pulumi_snowflake/secret_with_client_credentials.py +28 -28
- pulumi_snowflake/secret_with_generic_string.py +21 -21
- pulumi_snowflake/service_user.py +21 -21
- pulumi_snowflake/shared_database.py +16 -16
- pulumi_snowflake/stream_on_directory_table.py +28 -41
- pulumi_snowflake/stream_on_external_table.py +28 -41
- pulumi_snowflake/stream_on_table.py +28 -41
- pulumi_snowflake/stream_on_view.py +28 -41
- pulumi_snowflake/streamlit.py +42 -46
- pulumi_snowflake/tag.py +28 -28
- pulumi_snowflake/tag_association.py +28 -86
- pulumi_snowflake/task.py +58 -62
- pulumi_snowflake/user.py +21 -21
- pulumi_snowflake/view.py +28 -41
- pulumi_snowflake/warehouse.py +16 -16
- {pulumi_snowflake-0.63.0a1734439451.dist-info → pulumi_snowflake-1.0.0a1734440141.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.0.0a1734440141.dist-info/RECORD +148 -0
- pulumi_snowflake/database_old.py +0 -489
- pulumi_snowflake/function.py +0 -901
- pulumi_snowflake/get_role.py +0 -126
- pulumi_snowflake/get_roles.py +0 -133
- pulumi_snowflake/oauth_integration.py +0 -610
- pulumi_snowflake/procedure.py +0 -910
- pulumi_snowflake/role.py +0 -250
- pulumi_snowflake/saml_integration.py +0 -916
- pulumi_snowflake/session_parameter.py +0 -301
- pulumi_snowflake/stream.py +0 -643
- pulumi_snowflake/tag_masking_policy_association.py +0 -211
- pulumi_snowflake-0.63.0a1734439451.dist-info/RECORD +0 -148
- {pulumi_snowflake-0.63.0a1734439451.dist-info → pulumi_snowflake-1.0.0a1734440141.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.63.0a1734439451.dist-info → pulumi_snowflake-1.0.0a1734440141.dist-info}/top_level.txt +0 -0
|
@@ -36,9 +36,8 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
36
36
|
The set of arguments for constructing a ApiAuthenticationIntegrationWithJwtBearer resource.
|
|
37
37
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
38
38
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
39
|
-
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
40
39
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
41
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
40
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
42
41
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
43
42
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
44
43
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
@@ -100,9 +99,6 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
100
99
|
@property
|
|
101
100
|
@pulumi.getter(name="oauthClientSecret")
|
|
102
101
|
def oauth_client_secret(self) -> pulumi.Input[str]:
|
|
103
|
-
"""
|
|
104
|
-
Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
105
|
-
"""
|
|
106
102
|
return pulumi.get(self, "oauth_client_secret")
|
|
107
103
|
|
|
108
104
|
@oauth_client_secret.setter
|
|
@@ -125,7 +121,7 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
125
121
|
@pulumi.getter
|
|
126
122
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
127
123
|
"""
|
|
128
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
124
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
129
125
|
"""
|
|
130
126
|
return pulumi.get(self, "name")
|
|
131
127
|
|
|
@@ -217,12 +213,11 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
217
213
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
218
214
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
219
215
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
220
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
216
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
221
217
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
222
218
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
223
219
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
224
220
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
225
|
-
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
226
221
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
227
222
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
228
223
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
@@ -308,7 +303,7 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
308
303
|
@pulumi.getter
|
|
309
304
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
310
305
|
"""
|
|
311
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
306
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
312
307
|
"""
|
|
313
308
|
return pulumi.get(self, "name")
|
|
314
309
|
|
|
@@ -376,9 +371,6 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
376
371
|
@property
|
|
377
372
|
@pulumi.getter(name="oauthClientSecret")
|
|
378
373
|
def oauth_client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
379
|
-
"""
|
|
380
|
-
Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
381
|
-
"""
|
|
382
374
|
return pulumi.get(self, "oauth_client_secret")
|
|
383
375
|
|
|
384
376
|
@oauth_client_secret.setter
|
|
@@ -443,19 +435,18 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
443
435
|
## Import
|
|
444
436
|
|
|
445
437
|
```sh
|
|
446
|
-
$ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "
|
|
438
|
+
$ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example '"<integration_name>"'
|
|
447
439
|
```
|
|
448
440
|
|
|
449
441
|
:param str resource_name: The name of the resource.
|
|
450
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
451
443
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
452
444
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
453
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
445
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
454
446
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
455
447
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
456
448
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
457
449
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
458
|
-
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
459
450
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
460
451
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
461
452
|
"""
|
|
@@ -469,7 +460,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
469
460
|
## Import
|
|
470
461
|
|
|
471
462
|
```sh
|
|
472
|
-
$ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "
|
|
463
|
+
$ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example '"<integration_name>"'
|
|
473
464
|
```
|
|
474
465
|
|
|
475
466
|
:param str resource_name: The name of the resource.
|
|
@@ -564,12 +555,11 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
564
555
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
565
556
|
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
566
557
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
567
|
-
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
558
|
+
:param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
568
559
|
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
569
560
|
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
570
561
|
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
571
562
|
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
572
|
-
:param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
573
563
|
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
574
564
|
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
575
565
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
@@ -630,7 +620,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
630
620
|
@pulumi.getter
|
|
631
621
|
def name(self) -> pulumi.Output[str]:
|
|
632
622
|
"""
|
|
633
|
-
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
623
|
+
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
634
624
|
"""
|
|
635
625
|
return pulumi.get(self, "name")
|
|
636
626
|
|
|
@@ -674,9 +664,6 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
674
664
|
@property
|
|
675
665
|
@pulumi.getter(name="oauthClientSecret")
|
|
676
666
|
def oauth_client_secret(self) -> pulumi.Output[str]:
|
|
677
|
-
"""
|
|
678
|
-
Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
679
|
-
"""
|
|
680
667
|
return pulumi.get(self, "oauth_client_secret")
|
|
681
668
|
|
|
682
669
|
@property
|
|
@@ -32,14 +32,14 @@ class AuthenticationPolicyArgs:
|
|
|
32
32
|
security_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
33
33
|
"""
|
|
34
34
|
The set of arguments for constructing a AuthenticationPolicy resource.
|
|
35
|
-
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
36
|
-
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
35
|
+
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
36
|
+
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authentication_methods: A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR`
|
|
38
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] client_types: A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENT*TYPES, then the login attempt fails. Allowed values are `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL`. The CLIENT*TYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
39
39
|
:param pulumi.Input[str] comment: Specifies a comment for the authentication policy.
|
|
40
40
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] mfa_authentication_methods: A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
|
|
41
41
|
:param pulumi.Input[str] mfa_enrollment: Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENT*TYPES parameter must include SNOWFLAKE*UI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
|
|
42
|
-
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
42
|
+
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
43
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_integrations: A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATION*METHODS list. All values in the SECURITY*INTEGRATIONS list must be compatible with the values in the AUTHENTICATION*METHODS list. For example, if SECURITY*INTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
|
|
44
44
|
"""
|
|
45
45
|
pulumi.set(__self__, "database", database)
|
|
@@ -63,7 +63,7 @@ class AuthenticationPolicyArgs:
|
|
|
63
63
|
@pulumi.getter
|
|
64
64
|
def database(self) -> pulumi.Input[str]:
|
|
65
65
|
"""
|
|
66
|
-
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
66
|
+
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
67
67
|
"""
|
|
68
68
|
return pulumi.get(self, "database")
|
|
69
69
|
|
|
@@ -75,7 +75,7 @@ class AuthenticationPolicyArgs:
|
|
|
75
75
|
@pulumi.getter
|
|
76
76
|
def schema(self) -> pulumi.Input[str]:
|
|
77
77
|
"""
|
|
78
|
-
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
78
|
+
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
79
79
|
"""
|
|
80
80
|
return pulumi.get(self, "schema")
|
|
81
81
|
|
|
@@ -147,7 +147,7 @@ class AuthenticationPolicyArgs:
|
|
|
147
147
|
@pulumi.getter
|
|
148
148
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
149
149
|
"""
|
|
150
|
-
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
150
|
+
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "name")
|
|
153
153
|
|
|
@@ -188,13 +188,13 @@ class _AuthenticationPolicyState:
|
|
|
188
188
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authentication_methods: A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR`
|
|
189
189
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] client_types: A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENT*TYPES, then the login attempt fails. Allowed values are `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL`. The CLIENT*TYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
190
190
|
:param pulumi.Input[str] comment: Specifies a comment for the authentication policy.
|
|
191
|
-
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
191
|
+
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
192
192
|
:param pulumi.Input[Sequence[pulumi.Input['AuthenticationPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given policy.
|
|
193
193
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
194
194
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] mfa_authentication_methods: A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
|
|
195
195
|
:param pulumi.Input[str] mfa_enrollment: Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENT*TYPES parameter must include SNOWFLAKE*UI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
|
|
196
|
-
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
197
|
-
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
196
|
+
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
197
|
+
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
198
198
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_integrations: A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATION*METHODS list. All values in the SECURITY*INTEGRATIONS list must be compatible with the values in the AUTHENTICATION*METHODS list. For example, if SECURITY*INTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
|
|
199
199
|
:param pulumi.Input[Sequence[pulumi.Input['AuthenticationPolicyShowOutputArgs']]] show_outputs: Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given policy.
|
|
200
200
|
"""
|
|
@@ -263,7 +263,7 @@ class _AuthenticationPolicyState:
|
|
|
263
263
|
@pulumi.getter
|
|
264
264
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
265
265
|
"""
|
|
266
|
-
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
266
|
+
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
267
267
|
"""
|
|
268
268
|
return pulumi.get(self, "database")
|
|
269
269
|
|
|
@@ -323,7 +323,7 @@ class _AuthenticationPolicyState:
|
|
|
323
323
|
@pulumi.getter
|
|
324
324
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
325
325
|
"""
|
|
326
|
-
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
326
|
+
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
327
327
|
"""
|
|
328
328
|
return pulumi.get(self, "name")
|
|
329
329
|
|
|
@@ -335,7 +335,7 @@ class _AuthenticationPolicyState:
|
|
|
335
335
|
@pulumi.getter
|
|
336
336
|
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
337
337
|
"""
|
|
338
|
-
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
338
|
+
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
339
339
|
"""
|
|
340
340
|
return pulumi.get(self, "schema")
|
|
341
341
|
|
|
@@ -395,11 +395,11 @@ class AuthenticationPolicy(pulumi.CustomResource):
|
|
|
395
395
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authentication_methods: A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR`
|
|
396
396
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] client_types: A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENT*TYPES, then the login attempt fails. Allowed values are `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL`. The CLIENT*TYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
397
397
|
:param pulumi.Input[str] comment: Specifies a comment for the authentication policy.
|
|
398
|
-
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
398
|
+
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
399
399
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] mfa_authentication_methods: A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
|
|
400
400
|
:param pulumi.Input[str] mfa_enrollment: Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENT*TYPES parameter must include SNOWFLAKE*UI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
|
|
401
|
-
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
402
|
-
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
401
|
+
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
402
|
+
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
403
403
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_integrations: A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATION*METHODS list. All values in the SECURITY*INTEGRATIONS list must be compatible with the values in the AUTHENTICATION*METHODS list. For example, if SECURITY*INTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
|
|
404
404
|
"""
|
|
405
405
|
...
|
|
@@ -496,13 +496,13 @@ class AuthenticationPolicy(pulumi.CustomResource):
|
|
|
496
496
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authentication_methods: A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR`
|
|
497
497
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] client_types: A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENT*TYPES, then the login attempt fails. Allowed values are `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL`. The CLIENT*TYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
498
498
|
:param pulumi.Input[str] comment: Specifies a comment for the authentication policy.
|
|
499
|
-
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
499
|
+
:param pulumi.Input[str] database: The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
500
500
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticationPolicyDescribeOutputArgs', 'AuthenticationPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given policy.
|
|
501
501
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
502
502
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] mfa_authentication_methods: A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
|
|
503
503
|
:param pulumi.Input[str] mfa_enrollment: Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENT*TYPES parameter must include SNOWFLAKE*UI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
|
|
504
|
-
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
505
|
-
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
504
|
+
:param pulumi.Input[str] name: Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
505
|
+
:param pulumi.Input[str] schema: The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
506
506
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_integrations: A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATION*METHODS list. All values in the SECURITY*INTEGRATIONS list must be compatible with the values in the AUTHENTICATION*METHODS list. For example, if SECURITY*INTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
|
|
507
507
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticationPolicyShowOutputArgs', 'AuthenticationPolicyShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given policy.
|
|
508
508
|
"""
|
|
@@ -552,7 +552,7 @@ class AuthenticationPolicy(pulumi.CustomResource):
|
|
|
552
552
|
@pulumi.getter
|
|
553
553
|
def database(self) -> pulumi.Output[str]:
|
|
554
554
|
"""
|
|
555
|
-
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
555
|
+
The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
556
556
|
"""
|
|
557
557
|
return pulumi.get(self, "database")
|
|
558
558
|
|
|
@@ -592,7 +592,7 @@ class AuthenticationPolicy(pulumi.CustomResource):
|
|
|
592
592
|
@pulumi.getter
|
|
593
593
|
def name(self) -> pulumi.Output[str]:
|
|
594
594
|
"""
|
|
595
|
-
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
595
|
+
Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
596
596
|
"""
|
|
597
597
|
return pulumi.get(self, "name")
|
|
598
598
|
|
|
@@ -600,7 +600,7 @@ class AuthenticationPolicy(pulumi.CustomResource):
|
|
|
600
600
|
@pulumi.getter
|
|
601
601
|
def schema(self) -> pulumi.Output[str]:
|
|
602
602
|
"""
|
|
603
|
-
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
603
|
+
The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "schema")
|
|
606
606
|
|
|
@@ -15,16 +15,6 @@ else:
|
|
|
15
15
|
from .. import _utilities
|
|
16
16
|
from . import outputs
|
|
17
17
|
|
|
18
|
-
account: Optional[str]
|
|
19
|
-
"""
|
|
20
|
-
Use `account_name` and `organization_name` instead. Specifies your Snowflake account identifier assigned, by Snowflake.
|
|
21
|
-
The [account
|
|
22
|
-
locator](https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region) format
|
|
23
|
-
is not supported. For information about account identifiers, see the [Snowflake
|
|
24
|
-
documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Required unless using `profile`.
|
|
25
|
-
Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
18
|
accountName: Optional[str]
|
|
29
19
|
"""
|
|
30
20
|
Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
@@ -35,14 +25,8 @@ unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` en
|
|
|
35
25
|
authenticator: Optional[str]
|
|
36
26
|
"""
|
|
37
27
|
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
38
|
-
connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `
|
|
39
|
-
|
|
40
|
-
sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
41
|
-
"""
|
|
42
|
-
|
|
43
|
-
browserAuth: Optional[bool]
|
|
44
|
-
"""
|
|
45
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
|
|
28
|
+
connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
29
|
+
`TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
46
30
|
"""
|
|
47
31
|
|
|
48
32
|
clientIp: Optional[str]
|
|
@@ -145,43 +129,6 @@ Specifies how many times non-periodic HTTP request can be retried by the driver.
|
|
|
145
129
|
`SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
146
130
|
"""
|
|
147
131
|
|
|
148
|
-
oauthAccessToken: Optional[str]
|
|
149
|
-
"""
|
|
150
|
-
Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browser_auth`,
|
|
151
|
-
`private_key_path`, `oauth_refresh_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN`
|
|
152
|
-
environment variable.
|
|
153
|
-
"""
|
|
154
|
-
|
|
155
|
-
oauthClientId: Optional[str]
|
|
156
|
-
"""
|
|
157
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
158
|
-
"""
|
|
159
|
-
|
|
160
|
-
oauthClientSecret: Optional[str]
|
|
161
|
-
"""
|
|
162
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
163
|
-
variable.
|
|
164
|
-
"""
|
|
165
|
-
|
|
166
|
-
oauthEndpoint: Optional[str]
|
|
167
|
-
"""
|
|
168
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
169
|
-
"""
|
|
170
|
-
|
|
171
|
-
oauthRedirectUrl: Optional[str]
|
|
172
|
-
"""
|
|
173
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment
|
|
174
|
-
variable.
|
|
175
|
-
"""
|
|
176
|
-
|
|
177
|
-
oauthRefreshToken: Optional[str]
|
|
178
|
-
"""
|
|
179
|
-
Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
|
|
180
|
-
`oauth_client_id`, `oauth_client_secret`, `oauth_endpoint`, `oauth_redirect_url`. Cannot be used with `browser_auth`,
|
|
181
|
-
`private_key_path`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN`
|
|
182
|
-
environment variable.
|
|
183
|
-
"""
|
|
184
|
-
|
|
185
132
|
ocspFailOpen: Optional[str]
|
|
186
133
|
"""
|
|
187
134
|
True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
@@ -222,8 +169,8 @@ False by default. Set to true if the MFA passcode is embedded to the configured
|
|
|
222
169
|
|
|
223
170
|
password: Optional[str]
|
|
224
171
|
"""
|
|
225
|
-
Password for user + password auth. Cannot be used with `
|
|
226
|
-
the `SNOWFLAKE_PASSWORD` environment variable.
|
|
172
|
+
Password for user + password auth. Cannot be used with `private_key` and `private_key_passphrase`. Can also be sourced
|
|
173
|
+
from the `SNOWFLAKE_PASSWORD` environment variable.
|
|
227
174
|
"""
|
|
228
175
|
|
|
229
176
|
port: Optional[int]
|
|
@@ -232,10 +179,12 @@ Specifies a custom port value used by the driver for privatelink connections. Ca
|
|
|
232
179
|
`SNOWFLAKE_PORT` environment variable.
|
|
233
180
|
"""
|
|
234
181
|
|
|
182
|
+
previewFeaturesEnableds: Optional[str]
|
|
183
|
+
|
|
235
184
|
privateKey: Optional[str]
|
|
236
185
|
"""
|
|
237
|
-
Private Key for username+private-key auth. Cannot be used with `
|
|
238
|
-
|
|
186
|
+
Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
187
|
+
`SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
239
188
|
"""
|
|
240
189
|
|
|
241
190
|
privateKeyPassphrase: Optional[str]
|
|
@@ -244,12 +193,6 @@ Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-g
|
|
|
244
193
|
des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
245
194
|
"""
|
|
246
195
|
|
|
247
|
-
privateKeyPath: Optional[str]
|
|
248
|
-
"""
|
|
249
|
-
Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or
|
|
250
|
-
`password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
251
|
-
"""
|
|
252
|
-
|
|
253
196
|
profile: Optional[str]
|
|
254
197
|
"""
|
|
255
198
|
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
@@ -262,16 +205,6 @@ A protocol used in the connection. Valid options are: `http` | `https`. Can also
|
|
|
262
205
|
`SNOWFLAKE_PROTOCOL` environment variable.
|
|
263
206
|
"""
|
|
264
207
|
|
|
265
|
-
region: Optional[str]
|
|
266
|
-
"""
|
|
267
|
-
Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
268
|
-
to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
269
|
-
[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
270
|
-
format for the `account`
|
|
271
|
-
identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
272
|
-
in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
273
|
-
"""
|
|
274
|
-
|
|
275
208
|
requestTimeout: Optional[int]
|
|
276
209
|
"""
|
|
277
210
|
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
@@ -284,11 +217,6 @@ Specifies the role to use by default for accessing Snowflake objects in the clie
|
|
|
284
217
|
`SNOWFLAKE_ROLE` environment variable.
|
|
285
218
|
"""
|
|
286
219
|
|
|
287
|
-
sessionParams: Optional[str]
|
|
288
|
-
"""
|
|
289
|
-
Sets session parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
|
|
290
|
-
"""
|
|
291
|
-
|
|
292
220
|
tmpDirectoryPath: Optional[str]
|
|
293
221
|
"""
|
|
294
222
|
Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
@@ -308,12 +236,6 @@ user: Optional[str]
|
|
|
308
236
|
Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
309
237
|
"""
|
|
310
238
|
|
|
311
|
-
username: Optional[str]
|
|
312
|
-
"""
|
|
313
|
-
Username for user + password authentication. Required unless using `profile`. Can also be sourced from the
|
|
314
|
-
`SNOWFLAKE_USERNAME` environment variable.
|
|
315
|
-
"""
|
|
316
|
-
|
|
317
239
|
validateDefaultParameters: Optional[str]
|
|
318
240
|
"""
|
|
319
241
|
True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
pulumi_snowflake/config/vars.py
CHANGED
|
@@ -21,18 +21,6 @@ __config__ = pulumi.Config('snowflake')
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class _ExportableConfig(types.ModuleType):
|
|
24
|
-
@property
|
|
25
|
-
def account(self) -> Optional[str]:
|
|
26
|
-
"""
|
|
27
|
-
Use `account_name` and `organization_name` instead. Specifies your Snowflake account identifier assigned, by Snowflake.
|
|
28
|
-
The [account
|
|
29
|
-
locator](https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region) format
|
|
30
|
-
is not supported. For information about account identifiers, see the [Snowflake
|
|
31
|
-
documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Required unless using `profile`.
|
|
32
|
-
Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
33
|
-
"""
|
|
34
|
-
return __config__.get('account') or _utilities.get_env('SNOWFLAKE_ACCOUNT')
|
|
35
|
-
|
|
36
24
|
@property
|
|
37
25
|
def account_name(self) -> Optional[str]:
|
|
38
26
|
"""
|
|
@@ -46,19 +34,11 @@ class _ExportableConfig(types.ModuleType):
|
|
|
46
34
|
def authenticator(self) -> Optional[str]:
|
|
47
35
|
"""
|
|
48
36
|
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
49
|
-
connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `
|
|
50
|
-
|
|
51
|
-
sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
37
|
+
connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
38
|
+
`TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
52
39
|
"""
|
|
53
40
|
return __config__.get('authenticator')
|
|
54
41
|
|
|
55
|
-
@property
|
|
56
|
-
def browser_auth(self) -> Optional[bool]:
|
|
57
|
-
"""
|
|
58
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
|
|
59
|
-
"""
|
|
60
|
-
return __config__.get_bool('browserAuth') or _utilities.get_env_bool('SNOWFLAKE_USE_BROWSER_AUTH')
|
|
61
|
-
|
|
62
42
|
@property
|
|
63
43
|
def client_ip(self) -> Optional[str]:
|
|
64
44
|
"""
|
|
@@ -193,55 +173,6 @@ class _ExportableConfig(types.ModuleType):
|
|
|
193
173
|
"""
|
|
194
174
|
return __config__.get_int('maxRetryCount')
|
|
195
175
|
|
|
196
|
-
@property
|
|
197
|
-
def oauth_access_token(self) -> Optional[str]:
|
|
198
|
-
"""
|
|
199
|
-
Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browser_auth`,
|
|
200
|
-
`private_key_path`, `oauth_refresh_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN`
|
|
201
|
-
environment variable.
|
|
202
|
-
"""
|
|
203
|
-
return __config__.get('oauthAccessToken') or _utilities.get_env('SNOWFLAKE_OAUTH_ACCESS_TOKEN')
|
|
204
|
-
|
|
205
|
-
@property
|
|
206
|
-
def oauth_client_id(self) -> Optional[str]:
|
|
207
|
-
"""
|
|
208
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
209
|
-
"""
|
|
210
|
-
return __config__.get('oauthClientId') or _utilities.get_env('SNOWFLAKE_OAUTH_CLIENT_ID')
|
|
211
|
-
|
|
212
|
-
@property
|
|
213
|
-
def oauth_client_secret(self) -> Optional[str]:
|
|
214
|
-
"""
|
|
215
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
216
|
-
variable.
|
|
217
|
-
"""
|
|
218
|
-
return __config__.get('oauthClientSecret') or _utilities.get_env('SNOWFLAKE_OAUTH_CLIENT_SECRET')
|
|
219
|
-
|
|
220
|
-
@property
|
|
221
|
-
def oauth_endpoint(self) -> Optional[str]:
|
|
222
|
-
"""
|
|
223
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
224
|
-
"""
|
|
225
|
-
return __config__.get('oauthEndpoint') or _utilities.get_env('SNOWFLAKE_OAUTH_ENDPOINT')
|
|
226
|
-
|
|
227
|
-
@property
|
|
228
|
-
def oauth_redirect_url(self) -> Optional[str]:
|
|
229
|
-
"""
|
|
230
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment
|
|
231
|
-
variable.
|
|
232
|
-
"""
|
|
233
|
-
return __config__.get('oauthRedirectUrl') or _utilities.get_env('SNOWFLAKE_OAUTH_REDIRECT_URL')
|
|
234
|
-
|
|
235
|
-
@property
|
|
236
|
-
def oauth_refresh_token(self) -> Optional[str]:
|
|
237
|
-
"""
|
|
238
|
-
Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
|
|
239
|
-
`oauth_client_id`, `oauth_client_secret`, `oauth_endpoint`, `oauth_redirect_url`. Cannot be used with `browser_auth`,
|
|
240
|
-
`private_key_path`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN`
|
|
241
|
-
environment variable.
|
|
242
|
-
"""
|
|
243
|
-
return __config__.get('oauthRefreshToken') or _utilities.get_env('SNOWFLAKE_OAUTH_REFRESH_TOKEN')
|
|
244
|
-
|
|
245
176
|
@property
|
|
246
177
|
def ocsp_fail_open(self) -> Optional[str]:
|
|
247
178
|
"""
|
|
@@ -295,8 +226,8 @@ class _ExportableConfig(types.ModuleType):
|
|
|
295
226
|
@property
|
|
296
227
|
def password(self) -> Optional[str]:
|
|
297
228
|
"""
|
|
298
|
-
Password for user + password auth. Cannot be used with `
|
|
299
|
-
the `SNOWFLAKE_PASSWORD` environment variable.
|
|
229
|
+
Password for user + password auth. Cannot be used with `private_key` and `private_key_passphrase`. Can also be sourced
|
|
230
|
+
from the `SNOWFLAKE_PASSWORD` environment variable.
|
|
300
231
|
"""
|
|
301
232
|
return __config__.get('password') or _utilities.get_env('SNOWFLAKE_PASSWORD')
|
|
302
233
|
|
|
@@ -308,11 +239,15 @@ class _ExportableConfig(types.ModuleType):
|
|
|
308
239
|
"""
|
|
309
240
|
return __config__.get_int('port') or _utilities.get_env_int('SNOWFLAKE_PORT')
|
|
310
241
|
|
|
242
|
+
@property
|
|
243
|
+
def preview_features_enableds(self) -> Optional[str]:
|
|
244
|
+
return __config__.get('previewFeaturesEnableds')
|
|
245
|
+
|
|
311
246
|
@property
|
|
312
247
|
def private_key(self) -> Optional[str]:
|
|
313
248
|
"""
|
|
314
|
-
Private Key for username+private-key auth. Cannot be used with `
|
|
315
|
-
|
|
249
|
+
Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
250
|
+
`SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
316
251
|
"""
|
|
317
252
|
return __config__.get('privateKey')
|
|
318
253
|
|
|
@@ -324,14 +259,6 @@ class _ExportableConfig(types.ModuleType):
|
|
|
324
259
|
"""
|
|
325
260
|
return __config__.get('privateKeyPassphrase') or _utilities.get_env('SNOWFLAKE_PRIVATE_KEY_PASSPHRASE')
|
|
326
261
|
|
|
327
|
-
@property
|
|
328
|
-
def private_key_path(self) -> Optional[str]:
|
|
329
|
-
"""
|
|
330
|
-
Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or
|
|
331
|
-
`password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
332
|
-
"""
|
|
333
|
-
return __config__.get('privateKeyPath') or _utilities.get_env('SNOWFLAKE_PRIVATE_KEY_PATH')
|
|
334
|
-
|
|
335
262
|
@property
|
|
336
263
|
def profile(self) -> Optional[str]:
|
|
337
264
|
"""
|
|
@@ -348,18 +275,6 @@ class _ExportableConfig(types.ModuleType):
|
|
|
348
275
|
"""
|
|
349
276
|
return __config__.get('protocol') or _utilities.get_env('SNOWFLAKE_PROTOCOL')
|
|
350
277
|
|
|
351
|
-
@property
|
|
352
|
-
def region(self) -> Optional[str]:
|
|
353
|
-
"""
|
|
354
|
-
Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
355
|
-
to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
356
|
-
[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
357
|
-
format for the `account`
|
|
358
|
-
identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
359
|
-
in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
360
|
-
"""
|
|
361
|
-
return __config__.get('region') or _utilities.get_env('SNOWFLAKE_REGION')
|
|
362
|
-
|
|
363
278
|
@property
|
|
364
279
|
def request_timeout(self) -> Optional[int]:
|
|
365
280
|
"""
|
|
@@ -376,13 +291,6 @@ class _ExportableConfig(types.ModuleType):
|
|
|
376
291
|
"""
|
|
377
292
|
return __config__.get('role') or _utilities.get_env('SNOWFLAKE_ROLE')
|
|
378
293
|
|
|
379
|
-
@property
|
|
380
|
-
def session_params(self) -> Optional[str]:
|
|
381
|
-
"""
|
|
382
|
-
Sets session parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
|
|
383
|
-
"""
|
|
384
|
-
return __config__.get('sessionParams')
|
|
385
|
-
|
|
386
294
|
@property
|
|
387
295
|
def tmp_directory_path(self) -> Optional[str]:
|
|
388
296
|
"""
|
|
@@ -410,14 +318,6 @@ class _ExportableConfig(types.ModuleType):
|
|
|
410
318
|
"""
|
|
411
319
|
return __config__.get('user')
|
|
412
320
|
|
|
413
|
-
@property
|
|
414
|
-
def username(self) -> Optional[str]:
|
|
415
|
-
"""
|
|
416
|
-
Username for user + password authentication. Required unless using `profile`. Can also be sourced from the
|
|
417
|
-
`SNOWFLAKE_USERNAME` environment variable.
|
|
418
|
-
"""
|
|
419
|
-
return __config__.get('username') or _utilities.get_env('SNOWFLAKE_USER')
|
|
420
|
-
|
|
421
321
|
@property
|
|
422
322
|
def validate_default_parameters(self) -> Optional[str]:
|
|
423
323
|
"""
|