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 2020
2121logger = logging .getLogger (__name__ )
2222SNOWFLAKE_AUDIENCE = "snowflakecomputing.com"
23- # TODO: use real app ID or domain name once it's available.
24- DEFAULT_ENTRA_SNOWFLAKE_RESOURCE = "NOT REAL - WILL BREAK"
23+ DEFAULT_ENTRA_SNOWFLAKE_RESOURCE = "api://fd3f753b-eed3-462c-b6a7-a4b5bb650aad"
2524
2625
2726@unique
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ def test_explicit_azure_uses_default_entra_resource_if_unspecified(
279279 token = fake_azure_metadata_service .token
280280 parsed = jwt .decode (token , options = {"verify_signature" : False })
281281 assert (
282- parsed ["aud" ] == "NOT REAL - WILL BREAK "
282+ parsed ["aud" ] == "api://fd3f753b-eed3-462c-b6a7-a4b5bb650aad "
283283 ) # the default entra resource defined in wif_util.py.
284284
285285
You can’t perform that action at this time.
0 commit comments