From d7fb56eb41427927204a506993c3ff75a290d716 Mon Sep 17 00:00:00 2001 From: Slawek Koszewski Date: Fri, 15 Aug 2025 20:55:47 +0200 Subject: [PATCH] Added CLI command to bind a certificate to Azure Container App. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03fb145..05ce178 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Azure Image Chooser +# Azure Image Chooser Azure Image Chooser is a [Streamlit](https://streamlit.io) application that allows users to select Azure VM images from the Azure Marketplace. @@ -14,3 +14,15 @@ python3 -m venv .venv ``` You have to be authenticated in Azure CLI. The app will block terminal and start a web server. Follow the instructions in the terminal to access the app. + +## Add Certificate Binding + +```shell +az containerapp hostname bind \ + --hostname $DOMAIN_NAME \ + -g $RESOURCE_GROUP \ + -n $CONTAINER_APP \ + --environment $ENVIRONMENT \ + --certificate $CERTIFICATE_LOWERCASE_NAME \ + --validation-method CNAME +```