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