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/client-certificate-authorization.md
+7-6Lines changed: 7 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: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.topic: how-to
8
-
ms.date: 04/03/2025
8
+
ms.date: 05/02/2025
9
9
ms.author: cshoe
10
10
---
11
11
@@ -47,7 +47,9 @@ The following ARM template example configures ingress to require a client certif
47
47
> [!NOTE]
48
48
> You can set the `clientCertificateMode` directly on the ingress property. It isn't yet available as an explicit option in the CLI, but you can patch your app using the Azure CLI.
49
49
50
-
Get the ARM ID of the Azure Container App:
50
+
Before you run the following commands, make sure to replace the placeholders surrounded by `<>` with your own values.
51
+
52
+
Get the ARM ID of your container app:
51
53
52
54
```azurecli
53
55
APP_ID=$(az containerapp show \
@@ -57,7 +59,7 @@ APP_ID=$(az containerapp show \
57
59
--output tsv)
58
60
```
59
61
60
-
Patch the clientCertificateMode Property on the App:
62
+
Patch the `clientCertificateMode` property on the app:
61
63
62
64
```azurecli
63
65
az rest \
@@ -74,12 +76,11 @@ az rest \
74
76
}'
75
77
```
76
78
79
+
The value for `clientCertificateMode` varies what you need to provide for Container Apps to manage your certificate:
77
80
- When `require` is set, the client must provide a certificate.
78
-
79
81
- When `accept` is set, the certificate is optional. If the client provides a certificate, it is passed to the app in the `X-Forwarded-Client-Cert` header, as a semicolon-separated list. For example:
80
82
81
-
> [!NOTE]
82
-
> Before you use the following example, make sure to replace the placeholders surrounded by `<>` with your own values.
83
+
Before you use the following example, make sure to replace the placeholders surrounded by `<>` with your own values.
0 commit comments