Skip to content

Commit fa49bd2

Browse files
authored
Merge pull request #5349 from yanilov/update_snowflake_authenticator_schema
snowflake config: update authenticator variants and subsequent WIF authentication properties
2 parents 89d3f65 + 406a6a7 commit fa49bd2

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

src/schemas/json/snowflake-config.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,15 @@
132132
"id_token",
133133
"no_auth",
134134
"oauth",
135+
"oauth_client_credentials",
136+
"oauth_authorization_code",
137+
"okta",
135138
"programmatic_access_token",
136139
"snowflake_jwt",
137140
"snowflake",
138-
"username_password_mfa"
141+
"tokenaccessor",
142+
"username_password_mfa",
143+
"workload_identity"
139144
],
140145
"default": "snowflake"
141146
},
@@ -163,6 +168,17 @@
163168
"type": "string",
164169
"title": "Token File Path for OAuth",
165170
"description": "The path to the token file for the Snowflake OAuth Authentication"
171+
},
172+
"workload_identity_provider": {
173+
"type": "string",
174+
"title": "Workload Identity Provider",
175+
"description": "The workload identity provider to use for WIF authentication",
176+
"enum": ["azure", "aws", "gcp", "oidc"]
177+
},
178+
"workload_identity_entra_resource": {
179+
"type": "string",
180+
"title": "Workload Identity Entra Resource",
181+
"description": "e resource to use for WIF authentication on Azure environment"
166182
}
167183
},
168184
"additionalProperties": true,

src/schemas/json/snowflake-connections.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,15 @@
7070
"id_token",
7171
"no_auth",
7272
"oauth",
73+
"oauth_client_credentials",
74+
"oauth_authorization_code",
75+
"okta",
7376
"programmatic_access_token",
7477
"snowflake_jwt",
7578
"snowflake",
76-
"username_password_mfa"
79+
"tokenaccessor",
80+
"username_password_mfa",
81+
"workload_identity"
7782
],
7883
"default": "snowflake"
7984
},
@@ -101,6 +106,17 @@
101106
"type": "string",
102107
"title": "Token File Path for OAuth",
103108
"description": "The path to the token file for the Snowflake OAuth Authentication"
109+
},
110+
"workload_identity_provider": {
111+
"type": "string",
112+
"title": "Workload Identity Provider",
113+
"description": "The workload identity provider to use for WIF authentication",
114+
"enum": ["azure", "aws", "gcp", "oidc"]
115+
},
116+
"workload_identity_entra_resource": {
117+
"type": "string",
118+
"title": "Workload Identity Entra Resource",
119+
"description": "e resource to use for WIF authentication on Azure environment"
104120
}
105121
},
106122
"additionalProperties": true,

0 commit comments

Comments
 (0)