nano-core/nano.templates/nano-add-azure-managed-identity
Claude Code and agent skill by nano-core/nano.templates
- community
Checking that the SKILL.md file is still in the repository.
Wire Azure Managed Identity federated to Kubernetes Workload Identity onto a Nano.Library-based application's Kubernetes deployment - adds service-account.yaml, the workload-identity pod annotations, and the CI "Managed Identity" step that provisions and federates the identity. Use when the user asks to add Managed Identity, Workload Identity, or passwordless Azure resource access to a Nano API, Web, or Console application - typically a prerequisite before setting a Data or Storage provider to AuthenticationType: Azure.
Install
npx vskill@latest install nano-core/nano.templates/nano-add-azure-managed-identitySKILL.md
The same SKILL.md was published earlier as nano-core/nano.templates/nano-add-azure-managed-identity.
Nano add managed identity
Wires Azure Managed Identity, federated to Kubernetes Workload Identity, onto an existing Nano API, Web, or Console application's Kubernetes deployment. This is infrastructure-only — there's no App:/Data: config section it owns itself; providers consume the identity it establishes through their own AuthenticationType: Azure setting. nano-add-data-provider (MySql/ PostgreSQL/SqlServer) and nano-add-storage-provider (Azure section) both already assume this is wired before their Staging/Production sections apply — this skill is what makes that true.
Before making any change, determine
- Is Managed Identity already wired? Check for
.kubernetes/service-account.yamland a
Managed Identity step in the Kubernetes Deploy workflow. If present, say so and stop.
- What's it for? Ask if not already given — usually about to back a Data provider
(AuthenticationType: Azure) or Azure Storage. This skill only establishes the identity itself; flipping a provider's AuthenticationType is that provider's own skill's job, not this one's — don't do it here even if the reason is already known.
- Application type. No difference in wiring between API, Web, or Console — whichever of
deployment.yaml/cronjob.yaml the app has gets the same annotations.
- Does the workflow already have `AZURE_GROUP_KUBERNETES`? Every app's workflow needs it
already for basic AKS deploy (az aks get-credentials), so it's virtually always already present — confirm rather than assume, but there's normally nothing to add for it here.
Kubernetes
- `.kubernetes/service-account.yaml` (new file):
``yaml apiVersion: v1 kind: ServiceAccount metadata: name: %SERVICE_NAME%-service-account namespace: %KUBERNETES_NAMESPACE% annotations: azure.workload.identity/client-id: %IDENTITY_CLIENT_ID% ` Also add .kubernetes\service-account.yaml = .kubernetes\service-account.yaml to {name}.sln's .kubernetes SolutionItems block (see AGENTS.md's Solution Structure note) — new files under .kubernetes/` don't show up in Visual Studio's Solution Explorer otherwise.
- `.kubernetes/deployment.yaml`/`cronjob.yaml`: add the workload-identity label to the pod
template's metadata and reference the service account in the pod spec: ``yaml template: metadata: labels: azure.workload.identity/use: "true" spec: serviceAccountName: %SERVICE_NAME%-service-account ``
GitHub Actions
Add the Managed Identity step, placed after the AKS-credentials step (az aks get-credentials) and before Kubernetes Deploy. It's idempotent — creates the identity only if it doesn't already exist, and (re)creates the federated credential every run regardless:
Apply service-account.yaml in the Kubernetes Deploy step, before deployment.yaml/ cronjob.yaml — same Get-Content | ExpandEnvironmentVariables | kubectl apply pattern as every other manifest.
After making the change
- Show the user every file touched.
- Remind them this only establishes the identity — nothing consumes it yet. Point them at
nano-add-data-provider (set AuthenticationType: Azure) or nano-add-storage-provider (its Azure section) as the actual next step for whatever prompted this.
- If step 1 stopped the skill early, that's the whole response.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingLib.Images/.claude/skills/nano-add-azure-managed-identity/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nano-core/nano.templates/nano-add-azure-managed-identity)