az spatial-anchors-account key
Note
This reference is part of the mixed-reality extension for the Azure CLI (version 2.49.0 or higher). The extension will automatically install the first time you run an az spatial-anchors-account key command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage developer keys of a spatial anchors account.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spatial-anchors-account key renew |
Regenerate specified Key of a Spatial Anchors Account. |
Extension | Preview |
az spatial-anchors-account key show |
List Both of the 2 Keys of a Spatial Anchors Account. |
Extension | Preview |
az spatial-anchors-account key renew
Command group 'az spatial-anchors-account key' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Regenerate specified Key of a Spatial Anchors Account.
az spatial-anchors-account key renew [--ids]
[--key {primary, secondary}]
[--name]
[--resource-group]
[--subscription]
Examples
Regenerate spatial anchors account keys
az spatial-anchors-account key renew -n "MyAccount" -k primary --resource-group "MyResourceGroup"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Key to be regenerated.
Name of an Mixed Reality Account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spatial-anchors-account key show
Command group 'az spatial-anchors-account key' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List Both of the 2 Keys of a Spatial Anchors Account.
az spatial-anchors-account key show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
List spatial anchor account key
az spatial-anchors-account key show -n "MyAccount" --resource-group "MyResourceGroup"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of an Mixed Reality Account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.