az batch account keys

Manage Batch account keys.

Commands

az batch account keys list Gets the account keys for the specified Batch account.
az batch account keys renew Regenerates the specified account key for the Batch account.

az batch account keys list

Gets the account keys for the specified Batch account.

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

Required Parameters

--name -n
Name of the Batch account.
--resource-group -g
Name of the resource group.

az batch account keys renew

Regenerates the specified account key for the Batch account.

az batch account keys renew --key-name {Primary, Secondary}
--name
--resource-group

Required Parameters

--key-name
The type of account key to regenerate.
accepted values: Primary, Secondary
--name -n
Name of the Batch account.
--resource-group -g
Name of the resource group.