CmdID / az / az search / az search service / az search service query-key
az search service query-key create
Create a new query key for the specified search service. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--name, -nThe name of the new query API key.--search-service-nameThe name of the Azure AI Search service associated with the specified resource group.