Skip to content

Commit e17082f

Browse files
Incorporated the review comments.
1 parent 58b1731 commit e17082f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/container-apps/client-certificate-authorization.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-apps
55
author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.topic: how-to
8-
ms.date: 04/03/2025
8+
ms.date: 05/02/2025
99
ms.author: cshoe
1010
---
1111

@@ -47,7 +47,9 @@ The following ARM template example configures ingress to require a client certif
4747
> [!NOTE]
4848
> 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.
4949
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:
5153

5254
```azurecli
5355
APP_ID=$(az containerapp show \
@@ -57,7 +59,7 @@ APP_ID=$(az containerapp show \
5759
--output tsv)
5860
```
5961

60-
Patch the clientCertificateMode Property on the App:
62+
Patch the `clientCertificateMode` property on the app:
6163

6264
```azurecli
6365
az rest \
@@ -74,12 +76,11 @@ az rest \
7476
}'
7577
```
7678

79+
The value for `clientCertificateMode` varies what you need to provide for Container Apps to manage your certificate:
7780
- When `require` is set, the client must provide a certificate.
78-
7981
- 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:
8082

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.
8384

8485
```text
8586
Hash=<HASH_VALUE>;Cert="-----BEGIN CERTIFICATE-----<CERTIFICATE_VALUE>";Chain="-----BEGIN CERTIFICATE-----<CERTIFICATE_VALUE>";

0 commit comments

Comments
 (0)