az spatial-anchors-account key

Manage developer keys of a Spatial Anchors Account.

Commands

az spatial-anchors-account key renew

Renew one of the keys of a Spatial Anchors Account.

az spatial-anchors-account key show

Show keys of a Spatial Anchors Account.

az spatial-anchors-account key renew

Renew one of the keys of a Spatial Anchors Account.

az spatial-anchors-account key renew --key {primary, secondary}
                                     --name
                                     --resource-group

Examples

Renew primary key of a Spatial Anchors Account.

az spatial-anchors-account key renew -g example -n example -k primary

Renew secondary key of a Spatial Anchors Account.

az spatial-anchors-account key renew -g example -n example -k secondary

Required Parameters

--key -k

Key to be regenerated.

accepted values: primary, secondary
--name -n

Name of the Spatial Anchors Account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az spatial-anchors-account key show

Show keys of a Spatial Anchors Account.

az spatial-anchors-account key show --name
                                    --resource-group

Examples

Show primary key and secondary key of a Spatial Anchors Account.

az spatial-anchors-account key show -g example -n example

Required Parameters

--name -n

Name of the Spatial Anchors Account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.