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/managed-identity.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: container-apps
5
5
author: cebundy
6
6
ms.service: container-apps
7
7
ms.topic: how-to
8
-
ms.date: 05/11/2022
8
+
ms.date: 04/11/2022
9
9
ms.author: v-bcatherine
10
10
---
11
11
@@ -28,7 +28,6 @@ With managed identities:
28
28
- You can use role-based access control to grant specific permissions to a managed identity.
29
29
- System-assigned identities are automatically created and managed. They're deleted when your container app is deleted.
30
30
- You can add and delete user-assigned identities and assign them to multiple resources. They're independent of your container app's life cycle.
31
-
- You can use managed identity to [authenticate with a private Azure Container Registry](container.md#container-registries) without a username and password to pull containers for your Container App.
32
31
33
32
### Common use cases
34
33
@@ -44,7 +43,11 @@ User-assigned identities are ideal for workloads that:
44
43
45
44
## Limitations
46
45
47
-
The identity is only available within a running container, which means you can't use a managed identity in scaling rules or Dapr configuration. To access resources that require a connection string or key, such as storage resources, you'll still need to include the connection string or key in the `secretRef` of the scaling rule.
46
+
The identity is only available within a running container, which means you can't use a managed identity to:
47
+
48
+
- Pull an image from Azure Container Registry
49
+
- Define scaling rules or Dapr configuration
50
+
- To access resources that require a connection string or key, such as storage resources, you'll still need to include the connection string or key in the `secretRef` of the scaling rule.
48
51
49
52
## Configure managed identities
50
53
@@ -265,11 +268,11 @@ A container app with a managed identity exposes the identity endpoint by definin
265
268
- IDENTITY_ENDPOINT - local URL from which your container app can request tokens.
266
269
- IDENTITY_HEADER - a header used to help mitigate server-side request forgery (SSRF) attacks. The value is rotated by the platform.
267
270
268
-
To get a token for a resource, make an HTTP GET request to the endpoint, including the following parameters:
271
+
To get a token for a resource, make an HTTP GET request to this endpoint, including the following parameters:
269
272
270
273
| Parameter name | In | Description|
271
274
|---------|---------|---------|
272
-
| resource | Query | The Azure AD resource URI of the resource for which a token should be obtained. The resource could be one of the [Azure services that support Azure AD authentication](../active-directory/managed-identities-azure-resources/services-support-managed-identities.md#azure-services-that-support-azure-ad-authentication) or any other resource URI. |
275
+
| resource | Query | The Azure AD resource URI of the resource for which a token should be obtained. This could be one of the [Azure services that support Azure AD authentication](../active-directory/managed-identities-azure-resources/services-support-managed-identities.md#azure-services-that-support-azure-ad-authentication) or any other resource URI. |
273
276
| api-version | Query | The version of the token API to be used. Use "2019-08-01" or later. |
274
277
| X-IDENTITY-HEADER | Header | The value of the `IDENTITY_HEADER` environment variable. This header mitigates server-side request forgery (SSRF) attacks. |
275
278
| client_id | Query | (Optional) The client ID of the user-assigned identity to be used. Can't be used on a request that includes `principal_id`, `mi_res_id`, or `object_id`. If all ID parameters (`client_id`, `principal_id`, `object_id`, and `mi_res_id`) are omitted, the system-assigned identity is used.|
@@ -340,4 +343,4 @@ To remove all identities, set the `type` of the container app's identity to `Non
0 commit comments