Remove IDENTITY_ENDPOINT requirement for managed identity Azure Blob auth#91
Merged
Conversation
Agent-Logs-Url: https://github.com/privacyint/docker-headscale/sessions/74646d5a-272d-49c5-8fdf-e7d8b804503e Co-authored-by: EdGeraghty <20861699+EdGeraghty@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enhance Azure implementation and update documentation
Remove IDENTITY_ENDPOINT requirement for managed identity Azure Blob auth
May 1, 2026
EdGeraghty
approved these changes
May 1, 2026
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.
The entrypoint's
abs://validation requiredIDENTITY_ENDPOINTto accept managed identity, but Azure Container Apps provides managed identity credentials automatically without that variable being visible at the shell level — causing valid managed-identity deployments to fail the startup check.Changes
scripts/container-entrypoint.sh: Replaced the single||-chain check with a structured approach:AZURE_CLIENT_ID/AZURE_TENANT_ID/AZURE_CLIENT_SECRETpresent but not all three) produce a clear errortemplates/azure-container-apps.template.yaml: Expanded the shared-key auth comment with a concrete commented-out YAML example showing both thesecrets:entry and the correspondingsecretRefenv var.