Skip to content

Commit aa848e9

Browse files
committed
Clarified details about KV cert in AKS article
1 parent a131f4c commit aa848e9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

articles/aks/app-routing-dns-ssl.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Understand the advanced configuration options that are supported wi
44
ms.subservice: aks-networking
55
ms.custom: devx-track-azurecli
66
ms.topic: how-to
7-
ms.date: 11/21/2023
7+
ms.date: 12/04/2023
88
---
99

1010
# Set up advanced Ingress configurations with the application routing add-on
@@ -148,11 +148,17 @@ The application routing add-on creates an Ingress class on the cluster named *we
148148
az keyvault certificate show --vault-name <KeyVaultName> -n <KeyVaultCertificateName> --query "id" --output tsv
149149
```
150150
151+
The following example output shows the certificate URI returned from the command:
152+
153+
```output
154+
https://KeyVaultName.vault.azure.net/certificates/KeyVaultCertificateName/ea62e42260f04f17a9309d6b87aceb44
155+
```
156+
151157
2. Copy the following YAML manifest into a new file named **ingress.yaml** and save the file to your local computer.
152158
153-
> [!NOTE]
154-
> Update *`<Hostname>`* with your DNS host name and *`<KeyVaultCertificateUri>`* with the ID returned from Azure Key Vault.
155-
> The *`secretName`* key in the `tls` section defines the name of the secret that contains the certificate for this Ingress resource. This certificate will be presented in the browser when a client browses to the URL defined in the `<Hostname>` key. Make sure that the value of `secretName` is equal to `keyvault-` followed by the value of the Ingress resource name (from `metadata.name`). In the example YAML, secretName will need to be equal to `keyvault-<your Ingress name>`.
159+
Update *`<Hostname>`* with the name of your DNS host and *`<KeyVaultCertificateUri>`* with the URI returned from the command to query Azure Key Vault in step 1 above. The string value for `*<KeyVaultCertificateUri>*` should only include `https://yourkeyvault.vault.azure.net/certificates/certname`. The *Certificate Version* at the end of the URI string should be omitted in order to get the current version.
160+
161+
The *`secretName`* key in the `tls` section defines the name of the secret that contains the certificate for this Ingress resource. This certificate is presented in the browser when a client browses to the URL specified in the `<Hostname>` key. Make sure that the value of `secretName` is equal to `keyvault-` followed by the value of the Ingress resource name (from `metadata.name`). In the example YAML, `secretName` needs to be equal to `keyvault-<your Ingress name>`.
156162
157163
```yml
158164
apiVersion: networking.k8s.io/v1

0 commit comments

Comments
 (0)