Add deploy-agent-aks-auid skill (Agent ID User on AKS via Entra SDK auth-sidecar) - #33
Open
vj926 wants to merge 3 commits into
Open
Add deploy-agent-aks-auid skill (Agent ID User on AKS via Entra SDK auth-sidecar)#33vj926 wants to merge 3 commits into
vj926 wants to merge 3 commits into
Conversation
…idecar)
Self-contained skill that complements deploy-agent-aks-dev (autonomous) and
the OBO variant. Demonstrates the AUID flow (grant_type=user_fic) where an
Entra Agent Identity has its own first-class user object
(microsoft.graph.agentUser) and the agent calls downstream services as
itself.
Architecture: Workload Identity → projected SA token → FIC on Blueprint →
mcr.microsoft.com/entra-sdk/auth-sidecar performs the full Blueprint →
Agent ID → user_fic chain inside the pod. Application code never touches
login.microsoftonline.com.
Contents:
- SKILL.md, PERMISSIONS.md
- scripts/ — Phase 1 Entra setup (preflight, provision agentUser, grant
consent, register Weather Agent app)
- deploy/aks/{scripts,manifests}/ — Phase 2 AKS orchestrator + manifests
- backend/, weather-agent/, ui/ — application source built into the three
container images
- .env.example
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
vj926
added a commit
to vj926/entra-agentid-samples
that referenced
this pull request
Jun 10, 2026
…entid Aligns naming with the convention used elsewhere in the repo (<verb>-agent-<host>-<flavor>) and disambiguates from the AUID variant landing in PR microsoft#33 (deploy-agent-aks-auid). The 'dev' flavor slot is replaced with the explicit identity flavor 'agentid'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Aligns with the repo's <verb>-agent-<host>-<flavor> naming used by deploy-agent-aca-dev, deploy-agent-aca-aws, and (in PR microsoft#28) deploy-agent-aks-agentid. The AUID variant occupies the 'auid' flavor slot, mirroring how 'aws' differentiates the Bedrock variant of ACA. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
vj926 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Addresses review feedback on PR microsoft#33: - Replace mixed bash/PowerShell with PowerShell-only - Add teardown-agent-aks-auid skill mirroring full setup teardown Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Adds a new self-contained skill at
.claude/skills/deploy-auid-demo/for the Agent ID User (AUID) flow on AKS — the non-OBO complement to the existingdeploy-agent-aks-dev(autonomous) and OBO variants.What's AUID?
The mode where an Entra Agent Identity has its own first-class user object (
microsoft.graph.agentUser, parented to the Agent Identity app) and the agent calls downstream services as itself (no human in the loop). Token chain: Blueprint FIC → Agent ID FIC →user_fic.Architecture
Same Workload Identity + auth-sidecar pattern as
deploy-agent-aks-dev:/var/run/secrets/azure/tokens/azure-identity-token.system:serviceaccount:auid:backend-sa.mcr.microsoft.com/entra-sdk/auth-sidecarcontainer co-located with the FastAPI broker (localhost:5000) performs the full Blueprint → Agent ID →user_ficchain internally.login.microsoftonline.com.Contents
SKILL.md— Phase 1 (Entra setup) → Phase 2 (AKS deploy) → Phase 3 (smoke test) walkthrough.PERMISSIONS.md— exhaustive scope/role checklist matching the preflight script.scripts/— 4 PowerShell scripts: preflight, provisionagentUser, grant Graph consent, register Weather Agent app.deploy/aks/{scripts,manifests}/— orchestrator + sub-scripts + 5 K8s manifests (backend pod has both broker and auth-sidecar containers).backend/,weather-agent/,ui/— FastAPI broker, downstream service with full RS256 JWKS verification, single-page UI built into the three container images..env.example.Why now
Brings the AUID demo into the same self-contained skill structure used by the autonomous + OBO siblings, so a customer can be walked end-to-end purely from this folder. Local-only execution is explicitly not supported (Workload Identity is required for the sidecar's credential source — calling out the previous secret-in-app pattern that this replaces).
Provenance
Adapted from
vj926/AgentUserID-using-EntraSDK-Deploy-using-AKS(branchmigrate-to-auth-sidecar), which was in turn built on top of this repo'sdeploy-agent-aks-devpatterns.