소스 정보
- 저장소
- fabioc-aloha/Alex_Skill_Mall
- 최근 소스 활동
- 2026년 7월 28일 21:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/fabioc-aloha/Alex_Skill_Mall --skill azure-identity-msi명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | azure-identity-msi |
| description | Time Saved: 1-2 hours debugging identity and RBAC |
| lastReviewed | 2026-04-30T00:00:00.000Z |
Category: Azure Time Saved: 1-2 hours debugging identity and RBAC Battle-tested: Yes — multiple Azure deployments
You're configuring RBAC for an Azure resource's managed identity. You see principalId in one place, servicePrincipal in another, and objectId elsewhere. Documentation uses these terms interchangeably and you're not sure if they're the same thing.
A Managed Identity is a Service Principal — they're the same object viewed from different angles:
A Managed Identity IS a Service Principal in Entra ID. The principalId from the resource matches the Service Principal's Object ID in role assignments.
Azure Resource (VM, Function, Container App)
│
▼ creates
Managed Identity
│
▼ which IS
Service Principal in Entra ID
│
▼ gets assigned
RBAC Role on Target Resource
When debugging RBAC issues, verify the chain:
# For a Container App
az containerapp show \
--name myapp \
--resource-group myrg \
--query identity.principalId
# For a Function App
az functionapp show \
--name myfunc \
--resource-group myrg \
--query identity.principalId
# For a VM
az vm show \
--name myvm \
--resource-group myrg \
--query identity.principalId
# The principalId should match an SP's objectId
az ad sp show --id <principalId> --query objectId
# List role assignments on the target resource
az role assignment list \
--scope /subscriptions/{sub}/resourceGroups/{rg}/providers/{provider}/{resource} \
--query "[].{principal:principalId,role:roleDefinitionName}"
# Principal from resource should appear in role assignments
# with the expected role (Reader, Contributor, etc.)
| Role | When to Use |
|---|---|
| Reader | Read-only access to resources |
| Contributor | Full access except RBAC management |
| Owner | Full access including RBAC |
| Storage Blob Data Reader | Read blobs (not just management) |
| Key Vault Secrets User | Read secrets from Key Vault |
Note: Management roles (Reader, Contributor) don't grant data plane access. For blob storage, you need "Storage Blob Data *" roles.
# Assign role to managed identity
PRINCIPAL_ID=$(az containerapp show \
--name myapp \
--resource-group myrg \
--query identity.principalId -o tsv)
az role assignment create \
--assignee-object-id $PRINCIPAL_ID \
--assignee-principal-type ServicePrincipal \
--role "Storage Blob Data Reader" \
--scope /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Storage/storageAccounts/{account}
| Type | Creation | Lifecycle | Use Case |
|---|---|---|---|
| System-assigned | With resource | Deleted with resource | Single-resource identity |
| User-assigned | Separately | Independent | Shared across resources |
# Enable system-assigned identity
az containerapp identity assign \
--name myapp \
--resource-group myrg \
--system-assigned
# Create user-assigned identity
az identity create \
--name myidentity \
--resource-group myrg
# Assign user-assigned to resource
az containerapp identity assign \
--name myapp \
--resource-group myrg \
--user-assigned myidentity
azure-subscription-context — Subscription issuesazure-swa-gotchas — SWA-specific identity issues