az cognitiveservices account keys

Manage the keys of a cognitive services account.

Commands

az cognitiveservices account keys list List the keys of a cognitive services account.
az cognitiveservices account keys regenerate Regenerate the keys of a cognitive services account.

az cognitiveservices account keys list

List the keys of a 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=.

az cognitiveservices account keys regenerate

Regenerate the keys of a 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=.