Skip to content

Add support for managed identity in backend authorization credentials - #872

Merged
guythetechie merged 1 commit into
Azure:mainfrom
SiebeCorstjens:feature/backend-managed-identity-credential
Jun 27, 2026
Merged

Add support for managed identity in backend authorization credentials#872
guythetechie merged 1 commit into
Azure:mainfrom
SiebeCorstjens:feature/backend-managed-identity-credential

Conversation

@SiebeCorstjens

Copy link
Copy Markdown

Summary

Adds managed identity credential support to the BackendCredentialsContract DTO, enabling extraction and publishing of backend managed identity authentication configuration.

Context

The BackendCredentialsContract already supported authorization, certificate, certificateIds, header, and query credentials. Managed identity is an additional credential type supported by the Azure API Management REST API but was missing from the DTO.

Note: The official Microsoft REST API documentation does not explicitly document the managedIdentity property under BackendCredentialsContract, but the REST API does support it. This has been verified through manual testing of both extraction and publishing.

Changes

  • src/common/Backend.cs: Added ManagedIdentity property to BackendCredentialsContract and introduced the BackendManagedIdentityCredential record with ClientId and Resource properties.

@waelkdouh

Copy link
Copy Markdown
Contributor

I recommend you start using the new tool, which is the APiops CLI that we are referencing on the homepage of this repo.

@guythetechie
guythetechie merged commit 8575c51 into Azure:main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants