File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 24
24
25
25
logger = logging .getLogger (__name__ )
26
26
SNOWFLAKE_AUDIENCE = "snowflakecomputing.com"
27
- # TODO: use real app ID or domain name once it's available.
28
- DEFAULT_ENTRA_SNOWFLAKE_RESOURCE = "NOT REAL - WILL BREAK"
27
+ DEFAULT_ENTRA_SNOWFLAKE_RESOURCE = "api://fd3f753b-eed3-462c-b6a7-a4b5bb650aad"
29
28
30
29
31
30
@unique
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ def test_explicit_azure_uses_default_entra_resource_if_unspecified(
283
283
token = fake_azure_metadata_service .token
284
284
parsed = jwt .decode (token , options = {"verify_signature" : False })
285
285
assert (
286
- parsed ["aud" ] == "NOT REAL - WILL BREAK "
286
+ parsed ["aud" ] == "api://fd3f753b-eed3-462c-b6a7-a4b5bb650aad "
287
287
) # the default entra resource defined in wif_util.py.
288
288
289
289
You can’t perform that action at this time.
0 commit comments