az functionapp config ssl
Configure SSL certificates.
Commands
Name | Description | Type | Status |
---|---|---|---|
az functionapp config ssl bind |
Bind an SSL certificate to a function app. |
Core | GA |
az functionapp config ssl create |
Create a Managed Certificate for a hostname in a function app. |
Core | Preview |
az functionapp config ssl delete |
Delete an SSL certificate from a function app. |
Core | GA |
az functionapp config ssl import |
Import an SSL certificate to a function app from Key Vault. |
Core | GA |
az functionapp config ssl list |
List SSL certificates for a function app. |
Core | GA |
az functionapp config ssl show |
Show the details of an SSL certificate for a function app. |
Core | GA |
az functionapp config ssl unbind |
Unbind an SSL certificate from a function app. |
Core | GA |
az functionapp config ssl upload |
Upload an SSL certificate to a function app. |
Core | GA |
az functionapp config ssl bind
Bind an SSL certificate to a function app.
az functionapp config ssl bind --certificate-thumbprint
--ssl-type {IP, SNI}
[--hostname]
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Examples
Bind an SSL certificate to a function app. (autogenerated)
az functionapp config ssl bind --certificate-thumbprint {certificate-thumbprint} --name MyFunctionApp --resource-group MyResourceGroup --ssl-type SNI
Required Parameters
The ssl cert thumbprint.
The ssl cert type.
Optional Parameters
The custom domain name. If empty, hostnames will be selected automatically.
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
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.
az functionapp config ssl create
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a Managed Certificate for a hostname in a function app.
az functionapp config ssl create --hostname
--name
--resource-group
[--certificate-name]
[--slot]
Examples
Create a Managed Certificate for cname.mycustomdomain.com.
az functionapp config ssl create --resource-group MyResourceGroup --name MyWebapp --hostname cname.mycustomdomain.com
Required Parameters
The custom domain name.
Name of the web app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name of the certificate.
The name of the slot. Default to the productions slot if not specified.
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.
az functionapp config ssl delete
Delete an SSL certificate from a function app.
az functionapp config ssl delete --certificate-thumbprint
--resource-group
Required Parameters
The ssl cert thumbprint.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.
az functionapp config ssl import
Import an SSL certificate to a function app from Key Vault.
az functionapp config ssl import --key-vault
--key-vault-certificate-name
[--certificate-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Import an SSL certificate to a function app from Key Vault.
az functionapp config ssl import --resource-group MyResourceGroup --name MyFunctionApp --key-vault MyKeyVault --key-vault-certificate-name MyCertificateName
Import an SSL certificate to a function app from Key Vault using resource id (typically if Key Vault is in another subscription).
az functionapp config ssl import --resource-group MyResourceGroup --name MyFunctionApp --key-vault '/subscriptions/[sub id]/resourceGroups/[rg]/providers/Microsoft.KeyVault/vaults/[vault name]' --key-vault-certificate-name MyCertificateName
Required Parameters
The name or resource ID of the Key Vault.
The name of the certificate in Key Vault.
Optional Parameters
The name of the certificate.
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.
Name of the function app.
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.
az functionapp config ssl list
List SSL certificates for a function app.
az functionapp config ssl list --resource-group
Examples
List SSL certificates for a function app. (autogenerated)
az functionapp config ssl list --resource-group MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.
az functionapp config ssl show
Show the details of an SSL certificate for a function app.
az functionapp config ssl show --certificate-name
--resource-group
Examples
Show the details of an SSL certificate for a function app. (autogenerated)
az functionapp config ssl show --resource-group MyResourceGroup --certificate-name cname.mycustomdomain.com
Required Parameters
The name of the certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.
az functionapp config ssl unbind
Unbind an SSL certificate from a function app.
az functionapp config ssl unbind --certificate-thumbprint
[--hostname]
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Required Parameters
The ssl cert thumbprint.
Optional Parameters
The custom domain name. If empty, hostnames will be selected automatically.
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
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.
az functionapp config ssl upload
Upload an SSL certificate to a function app.
az functionapp config ssl upload --certificate-file
--certificate-password
[--certificate-name]
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Examples
Upload an SSL certificate to a function app. (autogenerated)
az functionapp config ssl upload --certificate-file {certificate-file} --certificate-password {certificate-password} --name MyFunctionApp --resource-group MyResourceGroup
Required Parameters
The filepath for the .pfx file.
The ssl cert password.
Optional Parameters
The name of the certificate.
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
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.