az functionapp keys
Manage function app keys.
Commands
Name | Description | Type | Status |
---|---|---|---|
az functionapp keys delete |
Delete a function app key. |
Core | GA |
az functionapp keys list |
List all function app keys. |
Core | GA |
az functionapp keys set |
Create or update a function app key. |
Core | GA |
az functionapp keys delete
Delete a function app key.
az functionapp keys delete --key-name
--key-type {functionKeys, masterKey, systemKeys}
--name
--resource-group
[--slot]
Examples
Delete a master key for an Azure Function app.
az functionapp keys delete -g MyResourceGroup -n MyFunctionAppName --key-type masterKey --key-name MyKeyName
Required Parameters
Name of the key to set.
Type of key.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name of the slot. Defaults 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 keys list
List all function app keys.
az functionapp keys list --name
--resource-group
[--slot]
Examples
List all keys for an Azure Function app.
az functionapp keys list -g MyResourceGroup -n MyFunctionAppName
Required Parameters
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name of the slot. Defaults 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 keys set
Create or update a function app key.
Note that key values are now redacted in the result. Please use the az functionapp keys list
command to view the key values.
az functionapp keys set --key-name
--key-type {functionKeys, masterKey, systemKeys}
--name
--resource-group
[--key-value]
[--slot]
Examples
Create a function key for an Azure Function app.
az functionapp keys set -g MyResourceGroup -n MyFunctionAppName --key-type functionKeys --key-name MyKeyName --key-value MyKeyValue
Required Parameters
Name of the key to set.
Type of key.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Value of the new key. If not provided, a value will be generated.
The name of the slot. Defaults 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.
Azure CLI