CmdID / az / az functionapp / az functionapp keys
az functionapp keys set
Create or update a function app key. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--key-nameName of the key to set.--key-typeType of key.--key-valueValue of the new key.