Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13235 See eng/common workflow

Copilot AI review requested due to automatic review settings December 11, 2025 17:55
@azure-sdk azure-sdk requested a review from a team as a code owner December 11, 2025 17:55
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Dec 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs changes from azure-sdk-tools PR 13235 that migrates the APIView authentication mechanism from API key-based authentication to Azure AD Bearer token authentication using Managed Identity or Service Principal credentials.

Key Changes

  • Replaced API key authentication with Azure AD Bearer token authentication via Azure CLI
  • Updated APIView endpoints to use lowercase paths (/autoreview, /upload, /create)
  • Changed HTTP method from GET to POST for the review token file upload endpoint

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
eng/common/scripts/Create-APIReview.ps1 Removed APIKey parameter, added Get-ApiViewBearerToken function for Azure AD authentication, updated APIView URI endpoints, and changed HTTP method to POST for review token file uploads
eng/common/pipelines/templates/steps/create-apireview.yml Changed from Powershell@2 task to AzureCLI@2 task with 'APIView prod deployment' service connection, removed APIKey parameter and pwsh property

@AlitzelMendez
Copy link
Member

/check-enforcer evaluate

@azure-sdk azure-sdk merged commit cc5db3a into main Dec 11, 2025
14 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-stop-using-apikey-13235 branch December 11, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants