Flight Log / Azure/azure-sdk-for-js #34864

Fix DefaultAzureCredential to support private key files for certificate authentication — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in Azure/azure-sdk-for-js on Jun 18, 2025; merged clean in 45.2 h: +580 −579, 23 files, 5 reviews.

All agent flights in Azure/azure-sdk-for-js · GitHub Copilot flights

Merged cleanGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+580 −579
Files
23
Commits
12
Reviews
5
To merge
45.2 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

The task was to fix DefaultAzureCredential and ClientCertificateCredential so they accept private key files at AZURE_CLIENT_CERTIFICATE_PATH. The pull request spans 23 files, 12 commits, 580 additions and 579 deletions. Across five reviews, the reviewer asked for all code changes to be reverted. It merged clean after 45.17 hours with zero change requests.

From the pull request description

## Summary This PR fixes an issue where `DefaultAzureCredential` and `ClientCertificateCredential` would fail with "The file at the specified path does not contain a PEM-encoded certificate" when users pointed `AZURE_CLIENT_CERTIFICATE_PATH` to private key files instead of certificate files. ## Pr…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —committedcopilot-swe-agent[bot]
  5. —committedcopilot-swe-agent[bot]
  6. —committedcopilot-swe-agent[bot]
  7. —committedcopilot-swe-agent[bot]
  8. —committedcopilot-swe-agent[bot]

Cite this flight: AgentRiders Flight Log, Azure/azure-sdk-for-js#34864, record updated Nov 3, 2026, https://agentriders.com/logs/Azure/azure-sdk-for-js/34864/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.