[DTOSS-12822] - Add managed identity for Azure Relay send access#1384
Merged
josielsouzanordcloud merged 1 commit intomainfrom Apr 28, 2026
Merged
Conversation
|
The review app at this URL has been deleted: |
- Add azurerm_relay_namespace data source to resolve namespace ID for RBAC scope - Create relay-send managed identity and assign Azure Relay Sender role at namespace level - Assign managed identity to webapp and expose AZURE_RELAY_CLIENT_ID env var - Update core.bicep RBAC condition to permit assignment of Azure Relay Sender role
9c261bb to
f645d8c
Compare
|
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.



Description
This PR creates a user-assigned managed identity with
Azure Relay SenderRBAC role at relay namespace level to replaces the existing SAS key approach, eliminating the need for secret rotation and following the principle of least privilege.Changes:
Azure Relay SenderRBAC role at the namespace level, allowing send access to all hybrid connectionsAZURE_RELAY_CLIENT_IDon the Container App, following the same convention asAZURE_DB_CLIENT_IDJira link
DTOSS-12822
Review notes
Review checklist
/api/v1/), confirm whether it is a breaking change — if so, a new major version (/api/v2/) is required (see ADR-006)