container-app-acr-auth

Generate Bicep patterns for Azure Container Apps authentication with ACR managed identities.

6|3|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/jongio/azd-copilot --skill container-app-acr-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: container-app-acr-auth
Source: https://github.com/jongio/azd-copilot/tree/main/cli/src/internal/assets/skills/container-app-acr-auth
Command: npx skills add https://github.com/jongio/azd-copilot --skill container-app-acr-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common challenge of securely configuring Azure Container Apps to pull images from Azure Container Registry (ACR), preventing deployment failures due to authentication issues.

Core Features & Use Cases

  • Managed Identity Authentication: Implements secure, role-based access using system-assigned managed identities for ACR image pulls.
  • Dependency Management: Provides Bicep patterns to correctly order resource creation, avoiding circular dependencies between Container Apps and role assignments.
  • Alternative Authentication: Offers a simpler, less secure method using ACR admin credentials for development or prototyping.
  • Use Case: Deploying a new microservice to Azure Container Apps where the container image is stored in ACR, ensuring the Container App has the necessary permissions to pull the image automatically and securely.

Quick Start

Use the container-app-acr-auth skill to generate Bicep code for securing Container App image pulls from ACR using managed identity.

Frequently Asked Questions about container-app-acr-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Azure Container Apps to pull images from ACR using a managed identity in Bicep?

To configure Azure Container Apps to pull images from ACR, use Bicep to assign a system-assigned managed identity and configure an AcrPull role assignment on the registry. This approach ensures secure, role-based access for automatic image pulls without managing credentials.

Why does my Bicep deployment fail with circular dependencies between Container Apps and AcrPull role assignments?

Circular dependencies between Container Apps and AcrPull role assignments occur due to incorrect resource ordering in Bicep. You can resolve this deployment failure by applying Bicep patterns that correctly sequence resource creation, ensuring the identity and role assignment are established before the container app.

Can I use ACR admin credentials instead of managed identity for Azure Container Apps authentication?

Yes, you can use ACR admin credentials for Azure Container Apps authentication as a simpler alternative. This method is less secure than managed identities and is recommended only for development, prototyping, or scenarios where role-based access control is not required.

What is the best way to secure ACR authentication for a microservice deployed to Azure Container Apps?

The best way to secure ACR authentication for microservices on Azure Container Apps is using system-assigned managed identities with AcrPull role assignments. This method provides role-based access control and prevents deployment failures caused by authentication issues.

When should I avoid using managed identities for Container App image pulls?

You should avoid using managed identities for Container App image pulls when you need a simpler setup for development or prototyping. In these cases, using ACR admin credentials offers a less secure but faster alternative to configuring Bicep role assignments.