You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/security.md
+7-35Lines changed: 7 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.topic: conceptual
8
-
ms.date: 07/16/2025
8
+
ms.date: 07/17/2025
9
9
ms.author: cshoe
10
10
---
11
11
12
12
# Security principles in Azure Container Apps
13
13
14
-
Azure Container Apps provides several built-in security features that help you build secure containerized applications. This article introduces the core security principlesand capabilities available in Azure Container Apps.
14
+
Azure Container Apps provides several built-in security features that help you build secure containerized applications. This guide explores key security principles, including managed identities, secrets management, and token store, while providing best practices to help you design secure and scalable applications.
15
15
16
16
## Managed identities
17
17
18
-
Managed identities eliminate the need to store credentials in your code or configuration by providing an automatically managed identity in Microsoft Entra ID. Container apps can use these identities to authenticate to any service that supports Microsoft Entra authentication, such as Azure Key Vault, Azure Storage, or Azure SQL Database.
18
+
[Managed identities](managed-identity.md) eliminate the need to store credentials in your code or configuration by providing an automatically managed identity in Microsoft Entra ID. Container apps can use these identities to authenticate to any service that supports Microsoft Entra authentication, such as Azure Key Vault, Azure Storage, or Azure SQL Database.
19
19
20
20
### Types of managed identities
21
21
@@ -44,23 +44,14 @@ Azure Container Apps supports two types of managed identities:
44
44
45
45
### Managed identity for image pulls
46
46
47
-
A common security pattern is using managed identities to pull images from private repositories in Azure Container Registry. This approach:
47
+
A common security pattern is using [managed identities to pull images](managed-identity-image-pull.md) from private repositories in Azure Container Registry. This approach:
48
48
49
49
- Avoids using administrative credentials for the registry
50
50
- Provides fine-grained access control through the ACRPull role
51
51
- Supports both system-assigned and user-assigned identities
52
52
- Can be controlled to limit access to specific containers
53
53
54
-
### Controlling managed identity access
55
-
56
-
Container Apps allows you to control which managed identities are available to different containers:
57
-
58
-
-**Init**: Available only to init containers
59
-
-**Main**: Available only to main containers
60
-
-**All**: Available to all containers (default)
61
-
-**None**: Not available to any containers
62
-
63
-
This granular control follows the principle of least privilege, limiting potential attack vectors if a container is compromised.
54
+
For more information, see [Managed identities](managed-identity.md) and [Image pull from Azure Container Registry with managed identity](managed-identity-image-pull.md) for more details on how to set up a managed identities for your application.
64
55
65
56
## Secrets management
66
57
@@ -82,19 +73,7 @@ Azure Container Apps provides built-in mechanisms to securely store and access s
82
73
- Use volume mounts to access secrets as files when appropriate
83
74
- Implement proper secret rotation practices
84
75
85
-
### Key Vault integration
86
-
87
-
For production workloads, store secrets in Azure Key Vault and reference them from your container app:
88
-
89
-
1. Enable managed identity for your container app
90
-
1. Grant the identity access to Key Vault secrets
91
-
1. Reference the Key Vault secret URI in your container app configuration
92
-
93
-
This approach provides:
94
-
95
-
- Centralized secret management
96
-
- Access control and audit logging
97
-
- Automatic secret rotation
76
+
For more information, see [Import certificates from Azure Key Vault](key-vault-certificates-manage.md) for more details on how to set up secrets management for your application.
98
77
99
78
## Token store for secure authentication
100
79
@@ -107,14 +86,7 @@ The token store feature provides a secure way to manage authentication tokens in
0 commit comments