-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Container Registry
Milestone
Description
Once the service team has added data plane scopes, we will update our authentication_scope kwarg as follows:
- Remove
authentication_scopekwarg - Add
audience(or similarly named) kwarg -
audienceis an extensible enum, containing the audience strings for known clouds; the user can override with a string if needed - If
audienceis set, client library will append/.defaulttoaudiencevalue to specify the default scope -
audiencewill default to data-plane scope root, which should be common across clouds [Note: this is not yet available from the service] - Throw an exception is
audienceis not set and update samples to reflect this
In Python, we will also
- Initially not support
credential_scopeskwarg - If we do evenually support the
credential_scopeskwarg, raise an error if this is different from the scope determined fromaudience
Please see Azure/azure-sdk-for-net#21603 for further details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Container Registry