CmdID

CmdID / az / az maps / az maps account / az maps account keys

az maps account keys renew

Renew either the primary or secondary key for use with the Maps APIs. Azure CLI reference

This command immediately invalidates old API keys. Only the renewed keys can be used to connect to maps.

1 example 1 option Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Renew

az maps account keys renew --name "myMapsAccount" --key "primary" --resource-group "myResourceGroup"Identify
--nameThe name of the maps account
--keyWhether the operation refers to the primary or secondary key
--resource-groupResource group name

Options

1 in the Azure CLI reference
--keyWhether the operation refers to the primary or secondary key