-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cloud configuration API #23141
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2ee746a
changes to test configuration files
annelo-msft fe648b7
Merge remote-tracking branch 'upstream/main' into acr-issue-21236
annelo-msft cd7e617
designate cloud environment and pass in authority scope
annelo-msft 9574936
small test fixes
annelo-msft 4516355
working toward ignoring anonymous access tests in national clouds
annelo-msft 61a6a3b
Merge remote-tracking branch 'upstream/main' into acr-issue-21556
annelo-msft 24ef4d5
update logic for anonymous client
annelo-msft e9c8d45
experimental API for specifying ACR audience
annelo-msft 5eecbfd
Merge remote-tracking branch 'upstream/main' into acr-audience-exp1
annelo-msft 9c539bd
swagger updates
annelo-msft cd071b2
update audience to extensible enum
annelo-msft d29e9f5
fix build
annelo-msft 5f86df3
updates
annelo-msft 1ca5cfc
Merge remote-tracking branch 'upstream/main' into acr-issue-21556
annelo-msft 85a414e
Merge remote-tracking branch 'upstream/main' into acr-audience-exp1
annelo-msft 370475e
add tests for audience
annelo-msft d1f00ad
update track 1 mgmt plane library base url
annelo-msft d99966d
update tests to use new constructor pattern
annelo-msft b64e2ce
add recorded tests
annelo-msft 69b468e
update samples
annelo-msft d889ee0
update recorded tests
annelo-msft 0524f9d
don't test samples in national clouds
annelo-msft ea9d2b3
update enum names per pr fb
annelo-msft c28f495
update enum names per pr fb
annelo-msft f114cce
update docstring for Audience property
annelo-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we considered removing the
AzureResourceManager
prefix?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally had these as Azure, but Scott suggested making it clear that these are ARM scopes: #23141 (comment)
I think Scott is right about this -- in the future, we want people using the ACR scopes instead of the ARM scopes.
But I'm open to suggestions ... do you have thoughts on better names for these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the context of the type name
ContainerRegistryAudience
, I was thinking that the cloud name alone would be sufficient.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, the service will support ACR scopes as well. So customers will need to choose between the ARM cloud audiences and the ACR cloud audiences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok - so they would be the same name except for the context? Just curious what the actual string values of each would be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string value for the ACR-scoped token hasn't been established yet, although we have requested that it be the same across clouds (like Storage does), so the customer doesn't have to specify. The values we have for the ARM ones are the standard ARM ones from here: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities#azure-resource-manager