pulumi-snowflake 1.2.0a1743489585__py3-none-any.whl → 1.2.0a1744183688__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 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,27 +22,27 @@ __all__ = ['ApiAuthenticationIntegrationWithClientCredentialsArgs', 'ApiAuthenti
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ApiAuthenticationIntegrationWithClientCredentialsArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
enabled: pulumi.Input[bool],
|
|
25
|
-
oauth_client_id: pulumi.Input[str],
|
|
26
|
-
oauth_client_secret: pulumi.Input[str],
|
|
27
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
30
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
33
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
enabled: pulumi.Input[builtins.bool],
|
|
26
|
+
oauth_client_id: pulumi.Input[builtins.str],
|
|
27
|
+
oauth_client_secret: pulumi.Input[builtins.str],
|
|
28
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
31
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
32
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
34
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None):
|
|
34
35
|
"""
|
|
35
36
|
The set of arguments for constructing a ApiAuthenticationIntegrationWithClientCredentials resource.
|
|
36
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
37
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
38
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
39
|
-
: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[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
41
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
42
|
-
: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`.
|
|
43
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
44
|
-
: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.
|
|
37
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
38
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
39
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
40
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
41
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
43
|
+
:param pulumi.Input[builtins.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`.
|
|
44
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
45
|
+
:param pulumi.Input[builtins.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.
|
|
45
46
|
"""
|
|
46
47
|
pulumi.set(__self__, "enabled", enabled)
|
|
47
48
|
pulumi.set(__self__, "oauth_client_id", oauth_client_id)
|
|
@@ -63,151 +64,151 @@ class ApiAuthenticationIntegrationWithClientCredentialsArgs:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def enabled(self) -> pulumi.Input[bool]:
|
|
67
|
+
def enabled(self) -> pulumi.Input[builtins.bool]:
|
|
67
68
|
"""
|
|
68
69
|
Specifies whether this security integration is enabled or disabled.
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "enabled")
|
|
71
72
|
|
|
72
73
|
@enabled.setter
|
|
73
|
-
def enabled(self, value: pulumi.Input[bool]):
|
|
74
|
+
def enabled(self, value: pulumi.Input[builtins.bool]):
|
|
74
75
|
pulumi.set(self, "enabled", value)
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="oauthClientId")
|
|
78
|
-
def oauth_client_id(self) -> pulumi.Input[str]:
|
|
79
|
+
def oauth_client_id(self) -> pulumi.Input[builtins.str]:
|
|
79
80
|
"""
|
|
80
81
|
Specifies the client ID for the OAuth application in the external service.
|
|
81
82
|
"""
|
|
82
83
|
return pulumi.get(self, "oauth_client_id")
|
|
83
84
|
|
|
84
85
|
@oauth_client_id.setter
|
|
85
|
-
def oauth_client_id(self, value: pulumi.Input[str]):
|
|
86
|
+
def oauth_client_id(self, value: pulumi.Input[builtins.str]):
|
|
86
87
|
pulumi.set(self, "oauth_client_id", value)
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter(name="oauthClientSecret")
|
|
90
|
-
def oauth_client_secret(self) -> pulumi.Input[str]:
|
|
91
|
+
def oauth_client_secret(self) -> pulumi.Input[builtins.str]:
|
|
91
92
|
return pulumi.get(self, "oauth_client_secret")
|
|
92
93
|
|
|
93
94
|
@oauth_client_secret.setter
|
|
94
|
-
def oauth_client_secret(self, value: pulumi.Input[str]):
|
|
95
|
+
def oauth_client_secret(self, value: pulumi.Input[builtins.str]):
|
|
95
96
|
pulumi.set(self, "oauth_client_secret", value)
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter
|
|
99
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
100
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
100
101
|
"""
|
|
101
102
|
Specifies a comment for the integration.
|
|
102
103
|
"""
|
|
103
104
|
return pulumi.get(self, "comment")
|
|
104
105
|
|
|
105
106
|
@comment.setter
|
|
106
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
107
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
107
108
|
pulumi.set(self, "comment", value)
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter
|
|
111
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
112
113
|
"""
|
|
113
114
|
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: `|`, `.`, `"`.
|
|
114
115
|
"""
|
|
115
116
|
return pulumi.get(self, "name")
|
|
116
117
|
|
|
117
118
|
@name.setter
|
|
118
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
119
120
|
pulumi.set(self, "name", value)
|
|
120
121
|
|
|
121
122
|
@property
|
|
122
123
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
123
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
124
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
124
125
|
"""
|
|
125
126
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
126
127
|
"""
|
|
127
128
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
128
129
|
|
|
129
130
|
@oauth_access_token_validity.setter
|
|
130
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
131
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
131
132
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
135
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
136
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
136
137
|
"""
|
|
137
138
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
138
139
|
"""
|
|
139
140
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
140
141
|
|
|
141
142
|
@oauth_allowed_scopes.setter
|
|
142
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
143
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
143
144
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
147
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
148
149
|
"""
|
|
149
150
|
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`.
|
|
150
151
|
"""
|
|
151
152
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
152
153
|
|
|
153
154
|
@oauth_client_auth_method.setter
|
|
154
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
155
156
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
159
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
160
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
160
161
|
"""
|
|
161
162
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
162
163
|
"""
|
|
163
164
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
164
165
|
|
|
165
166
|
@oauth_refresh_token_validity.setter
|
|
166
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
167
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
167
168
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
168
169
|
|
|
169
170
|
@property
|
|
170
171
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
171
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
172
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
172
173
|
"""
|
|
173
174
|
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.
|
|
174
175
|
"""
|
|
175
176
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
176
177
|
|
|
177
178
|
@oauth_token_endpoint.setter
|
|
178
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
179
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
179
180
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
180
181
|
|
|
181
182
|
|
|
182
183
|
@pulumi.input_type
|
|
183
184
|
class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
184
185
|
def __init__(__self__, *,
|
|
185
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
186
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
186
187
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]]] = None,
|
|
187
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
188
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
190
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
191
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
192
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
193
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
194
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
195
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
196
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
188
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
189
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
190
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
191
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
192
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
193
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
194
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
195
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
196
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
197
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
197
198
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs']]]] = None):
|
|
198
199
|
"""
|
|
199
200
|
Input properties used for looking up and filtering ApiAuthenticationIntegrationWithClientCredentials resources.
|
|
200
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
201
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
201
202
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
202
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
203
|
-
: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).
|
|
204
|
-
: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: `|`, `.`, `"`.
|
|
205
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
206
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
207
|
-
: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`.
|
|
208
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
209
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
210
|
-
: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.
|
|
203
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
204
|
+
:param pulumi.Input[builtins.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).
|
|
205
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
206
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
207
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
208
|
+
:param pulumi.Input[builtins.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`.
|
|
209
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
210
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
211
|
+
:param pulumi.Input[builtins.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.
|
|
211
212
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
212
213
|
"""
|
|
213
214
|
if comment is not None:
|
|
@@ -239,14 +240,14 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
239
240
|
|
|
240
241
|
@property
|
|
241
242
|
@pulumi.getter
|
|
242
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
243
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
243
244
|
"""
|
|
244
245
|
Specifies a comment for the integration.
|
|
245
246
|
"""
|
|
246
247
|
return pulumi.get(self, "comment")
|
|
247
248
|
|
|
248
249
|
@comment.setter
|
|
249
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
250
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
250
251
|
pulumi.set(self, "comment", value)
|
|
251
252
|
|
|
252
253
|
@property
|
|
@@ -263,119 +264,119 @@ class _ApiAuthenticationIntegrationWithClientCredentialsState:
|
|
|
263
264
|
|
|
264
265
|
@property
|
|
265
266
|
@pulumi.getter
|
|
266
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
267
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
267
268
|
"""
|
|
268
269
|
Specifies whether this security integration is enabled or disabled.
|
|
269
270
|
"""
|
|
270
271
|
return pulumi.get(self, "enabled")
|
|
271
272
|
|
|
272
273
|
@enabled.setter
|
|
273
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
274
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
274
275
|
pulumi.set(self, "enabled", value)
|
|
275
276
|
|
|
276
277
|
@property
|
|
277
278
|
@pulumi.getter(name="fullyQualifiedName")
|
|
278
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
279
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
279
280
|
"""
|
|
280
281
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
281
282
|
"""
|
|
282
283
|
return pulumi.get(self, "fully_qualified_name")
|
|
283
284
|
|
|
284
285
|
@fully_qualified_name.setter
|
|
285
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
286
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
286
287
|
pulumi.set(self, "fully_qualified_name", value)
|
|
287
288
|
|
|
288
289
|
@property
|
|
289
290
|
@pulumi.getter
|
|
290
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
291
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
291
292
|
"""
|
|
292
293
|
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: `|`, `.`, `"`.
|
|
293
294
|
"""
|
|
294
295
|
return pulumi.get(self, "name")
|
|
295
296
|
|
|
296
297
|
@name.setter
|
|
297
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
298
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
298
299
|
pulumi.set(self, "name", value)
|
|
299
300
|
|
|
300
301
|
@property
|
|
301
302
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
302
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
303
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
303
304
|
"""
|
|
304
305
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
305
306
|
"""
|
|
306
307
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
307
308
|
|
|
308
309
|
@oauth_access_token_validity.setter
|
|
309
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
310
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
310
311
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
311
312
|
|
|
312
313
|
@property
|
|
313
314
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
314
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
315
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
315
316
|
"""
|
|
316
317
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
317
318
|
"""
|
|
318
319
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
319
320
|
|
|
320
321
|
@oauth_allowed_scopes.setter
|
|
321
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
322
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
322
323
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
323
324
|
|
|
324
325
|
@property
|
|
325
326
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
326
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
327
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
327
328
|
"""
|
|
328
329
|
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`.
|
|
329
330
|
"""
|
|
330
331
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
331
332
|
|
|
332
333
|
@oauth_client_auth_method.setter
|
|
333
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
334
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
334
335
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
335
336
|
|
|
336
337
|
@property
|
|
337
338
|
@pulumi.getter(name="oauthClientId")
|
|
338
|
-
def oauth_client_id(self) -> Optional[pulumi.Input[str]]:
|
|
339
|
+
def oauth_client_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
339
340
|
"""
|
|
340
341
|
Specifies the client ID for the OAuth application in the external service.
|
|
341
342
|
"""
|
|
342
343
|
return pulumi.get(self, "oauth_client_id")
|
|
343
344
|
|
|
344
345
|
@oauth_client_id.setter
|
|
345
|
-
def oauth_client_id(self, value: Optional[pulumi.Input[str]]):
|
|
346
|
+
def oauth_client_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
346
347
|
pulumi.set(self, "oauth_client_id", value)
|
|
347
348
|
|
|
348
349
|
@property
|
|
349
350
|
@pulumi.getter(name="oauthClientSecret")
|
|
350
|
-
def oauth_client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
351
|
+
def oauth_client_secret(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
351
352
|
return pulumi.get(self, "oauth_client_secret")
|
|
352
353
|
|
|
353
354
|
@oauth_client_secret.setter
|
|
354
|
-
def oauth_client_secret(self, value: Optional[pulumi.Input[str]]):
|
|
355
|
+
def oauth_client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
355
356
|
pulumi.set(self, "oauth_client_secret", value)
|
|
356
357
|
|
|
357
358
|
@property
|
|
358
359
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
359
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
360
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
360
361
|
"""
|
|
361
362
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
362
363
|
"""
|
|
363
364
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
364
365
|
|
|
365
366
|
@oauth_refresh_token_validity.setter
|
|
366
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
367
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
367
368
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
368
369
|
|
|
369
370
|
@property
|
|
370
371
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
371
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
372
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
372
373
|
"""
|
|
373
374
|
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.
|
|
374
375
|
"""
|
|
375
376
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
376
377
|
|
|
377
378
|
@oauth_token_endpoint.setter
|
|
378
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
379
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
379
380
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
380
381
|
|
|
381
382
|
@property
|
|
@@ -396,16 +397,16 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
396
397
|
def __init__(__self__,
|
|
397
398
|
resource_name: str,
|
|
398
399
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
399
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
400
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
401
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
402
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
403
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
404
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
405
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
406
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
407
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
408
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
400
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
401
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
402
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
403
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
404
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
405
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
406
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
407
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
408
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
409
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
409
410
|
__props__=None):
|
|
410
411
|
"""
|
|
411
412
|
## Import
|
|
@@ -416,15 +417,15 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
416
417
|
|
|
417
418
|
:param str resource_name: The name of the resource.
|
|
418
419
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
420
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
421
|
-
: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: `|`, `.`, `"`.
|
|
422
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
423
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
424
|
-
: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`.
|
|
425
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
426
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
427
|
-
: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.
|
|
420
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
421
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
422
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
423
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
424
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
425
|
+
:param pulumi.Input[builtins.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`.
|
|
426
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
427
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
428
|
+
:param pulumi.Input[builtins.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.
|
|
428
429
|
"""
|
|
429
430
|
...
|
|
430
431
|
@overload
|
|
@@ -454,16 +455,16 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
454
455
|
def _internal_init(__self__,
|
|
455
456
|
resource_name: str,
|
|
456
457
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
457
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
458
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
459
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
460
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
461
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
462
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
463
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
464
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
465
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
466
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
458
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
459
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
460
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
461
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
462
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
463
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
464
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
465
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
466
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
467
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
467
468
|
__props__=None):
|
|
468
469
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
469
470
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -502,18 +503,18 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
502
503
|
def get(resource_name: str,
|
|
503
504
|
id: pulumi.Input[str],
|
|
504
505
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
505
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
506
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
506
507
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgsDict']]]]] = None,
|
|
507
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
508
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
509
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
510
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
511
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
512
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
513
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
514
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
515
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
516
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
508
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
509
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
510
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
511
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
512
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
513
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
514
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
515
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
516
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
517
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
517
518
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgsDict']]]]] = None) -> 'ApiAuthenticationIntegrationWithClientCredentials':
|
|
518
519
|
"""
|
|
519
520
|
Get an existing ApiAuthenticationIntegrationWithClientCredentials resource's state with the given name, id, and optional extra
|
|
@@ -522,17 +523,17 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
522
523
|
:param str resource_name: The unique name of the resulting resource.
|
|
523
524
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
524
525
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
525
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
526
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
526
527
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
527
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
528
|
-
: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).
|
|
529
|
-
: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: `|`, `.`, `"`.
|
|
530
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
531
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
532
|
-
: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`.
|
|
533
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
534
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
535
|
-
: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.
|
|
528
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
529
|
+
:param pulumi.Input[builtins.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).
|
|
530
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
531
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
532
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
533
|
+
:param pulumi.Input[builtins.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`.
|
|
534
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
535
|
+
:param pulumi.Input[builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
536
|
+
:param pulumi.Input[builtins.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.
|
|
536
537
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgs', 'ApiAuthenticationIntegrationWithClientCredentialsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
537
538
|
"""
|
|
538
539
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -556,7 +557,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
556
557
|
|
|
557
558
|
@property
|
|
558
559
|
@pulumi.getter
|
|
559
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
560
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
560
561
|
"""
|
|
561
562
|
Specifies a comment for the integration.
|
|
562
563
|
"""
|
|
@@ -572,7 +573,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
572
573
|
|
|
573
574
|
@property
|
|
574
575
|
@pulumi.getter
|
|
575
|
-
def enabled(self) -> pulumi.Output[bool]:
|
|
576
|
+
def enabled(self) -> pulumi.Output[builtins.bool]:
|
|
576
577
|
"""
|
|
577
578
|
Specifies whether this security integration is enabled or disabled.
|
|
578
579
|
"""
|
|
@@ -580,7 +581,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
580
581
|
|
|
581
582
|
@property
|
|
582
583
|
@pulumi.getter(name="fullyQualifiedName")
|
|
583
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
584
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
584
585
|
"""
|
|
585
586
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
586
587
|
"""
|
|
@@ -588,7 +589,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
588
589
|
|
|
589
590
|
@property
|
|
590
591
|
@pulumi.getter
|
|
591
|
-
def name(self) -> pulumi.Output[str]:
|
|
592
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
592
593
|
"""
|
|
593
594
|
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: `|`, `.`, `"`.
|
|
594
595
|
"""
|
|
@@ -596,7 +597,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
596
597
|
|
|
597
598
|
@property
|
|
598
599
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
599
|
-
def oauth_access_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
600
|
+
def oauth_access_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
600
601
|
"""
|
|
601
602
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
602
603
|
"""
|
|
@@ -604,7 +605,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
604
605
|
|
|
605
606
|
@property
|
|
606
607
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
607
|
-
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
608
|
+
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
608
609
|
"""
|
|
609
610
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
610
611
|
"""
|
|
@@ -612,7 +613,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
612
613
|
|
|
613
614
|
@property
|
|
614
615
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
615
|
-
def oauth_client_auth_method(self) -> pulumi.Output[Optional[str]]:
|
|
616
|
+
def oauth_client_auth_method(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
616
617
|
"""
|
|
617
618
|
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`.
|
|
618
619
|
"""
|
|
@@ -620,7 +621,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
620
621
|
|
|
621
622
|
@property
|
|
622
623
|
@pulumi.getter(name="oauthClientId")
|
|
623
|
-
def oauth_client_id(self) -> pulumi.Output[str]:
|
|
624
|
+
def oauth_client_id(self) -> pulumi.Output[builtins.str]:
|
|
624
625
|
"""
|
|
625
626
|
Specifies the client ID for the OAuth application in the external service.
|
|
626
627
|
"""
|
|
@@ -628,12 +629,12 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter(name="oauthClientSecret")
|
|
631
|
-
def oauth_client_secret(self) -> pulumi.Output[str]:
|
|
632
|
+
def oauth_client_secret(self) -> pulumi.Output[builtins.str]:
|
|
632
633
|
return pulumi.get(self, "oauth_client_secret")
|
|
633
634
|
|
|
634
635
|
@property
|
|
635
636
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
636
|
-
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
637
|
+
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
637
638
|
"""
|
|
638
639
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
639
640
|
"""
|
|
@@ -641,7 +642,7 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
|
|
|
641
642
|
|
|
642
643
|
@property
|
|
643
644
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
644
|
-
def oauth_token_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
645
|
+
def oauth_token_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
645
646
|
"""
|
|
646
647
|
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.
|
|
647
648
|
"""
|