az containerapp ssl
Upload certificate to a managed environment, add hostname to an app in that environment, and bind the certificate to the hostname.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp ssl upload |
Upload certificate to a managed environment, add hostname to an app in that environment, and bind the certificate to the hostname. |
Core | GA |
az containerapp ssl upload
Upload certificate to a managed environment, add hostname to an app in that environment, and bind the certificate to the hostname.
az containerapp ssl upload --certificate-file
--environment
--hostname
[--certificate-name]
[--ids]
[--location]
[--name]
[--password]
[--resource-group]
[--subscription]
Required Parameters
The filepath of the .pfx or .pem file.
Name or resource id of the Container App environment.
The custom domain name.
Optional Parameters
Name of the certificate which should be unique within the Container Apps environment.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
The certificate file password.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI