Sync eng/common directory with azure-sdk-tools for PR 13235#44391
Merged
Sync eng/common directory with azure-sdk-tools for PR 13235#44391
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR syncs the eng/common directory with changes from azure-sdk-tools PR #13235, implementing a security enhancement that migrates APIView authentication from API Keys to Azure Managed Identity-based Bearer tokens. The changes modernize the authentication mechanism while updating API endpoints to align with the new APIView service contract.
Key Changes:
- Replaced API Key authentication with Azure CLI Bearer Token authentication using Managed Identity
- Updated APIView service endpoints from legacy URLs to new standardized paths
- Changed HTTP methods to match updated API contracts (GET → POST for create operation)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/common/scripts/Create-APIReview.ps1 | Removed APIKey parameter; added Get-ApiViewBearerToken function for managed identity authentication; updated API endpoints from /UploadAutoReview to /upload and /CreateApiReview to /create; changed authentication headers from ApiKey to Bearer token; updated HTTP method from GET to POST for create operation |
| eng/common/pipelines/templates/steps/create-apireview.yml | Changed task from Powershell@2 to AzureCLI@2 to support Azure authentication; added Azure subscription configuration; removed APIKey parameter and secret reference |
AlitzelMendez
approved these changes
Dec 11, 2025
Member
|
/check-enforcer evaluate |
AlitzelMendez
added a commit
that referenced
this pull request
Jan 30, 2026
* Remove ApiKey usage * Add -TestAuth flag to verify Bearer token authentication * TEMP: Enable TestAuthOnly for pipeline testing * Remove testing logs * Additional clean up * Keep apikey fallback while migrating * Keep migration to new endpoint * Keep migration to new endpoint * Feedback --------- Co-authored-by: Alitzel Mendez <[email protected]>
simorenoh
added a commit
that referenced
this pull request
Feb 4, 2026
* fix - passing None as a ccount should handle it gracefully * updating chnage log * Update sdk/cosmos/azure-cosmos/CHANGELOG.md Co-authored-by: Simon Moreno <[email protected]> * Sync eng/common directory with azure-sdk-tools for PR 13235 (#44391) * Remove ApiKey usage * Add -TestAuth flag to verify Bearer token authentication * TEMP: Enable TestAuthOnly for pipeline testing * Remove testing logs * Additional clean up * Keep apikey fallback while migrating * Keep migration to new endpoint * Keep migration to new endpoint * Feedback --------- Co-authored-by: Alitzel Mendez <[email protected]> * fix - updating CHANGELOG.md with the new release date * fix - fixing fragile test * fix - fixing fragile test --------- Co-authored-by: Simon Moreno <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]> Co-authored-by: Alitzel Mendez <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13235 See eng/common workflow