az cognitiveservices account keys

Manage the keys of an Azure Cognitive Services account.

Commands

az cognitiveservices account keys list List the keys of an Azure Cognitive Services account.
az cognitiveservices account keys regenerate Regenerate the keys of an Azure Cognitive Services account.

az cognitiveservices account keys list

List the keys of an Azure Cognitive Services account.

az cognitiveservices account keys list --name
--resource-group

Required Parameters

--name -n
Cognitive service account name.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az cognitiveservices account keys regenerate

Regenerate the keys of an Azure Cognitive Services account.

az cognitiveservices account keys regenerate --key-name {key1, key2}
--name
--resource-group

Required Parameters

--key-name
Key name to generate.
accepted values: key1, key2
--name -n
Cognitive service account name.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.