Skip to content

Add support for managed identity in backend authorization credentials#872

Open
SiebeCorstjens wants to merge 1 commit into
Azure:mainfrom
SiebeCorstjens:feature/backend-managed-identity-credential
Open

Add support for managed identity in backend authorization credentials#872
SiebeCorstjens wants to merge 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.

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.

1 participant