az spatial-anchors-account key
Note
This reference is part of the mixed-reality extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az spatial-anchors-account key command. Learn more about extensions.
Manage developer keys of a spatial anchors account.
Commands
| az spatial-anchors-account key renew |
Regenerate specified key of a spatial anchors account. |
| az spatial-anchors-account key show |
List both of the 2 keys of a spatial anchors account. |
az spatial-anchors-account key renew
Regenerate specified key of a spatial anchors account.
az spatial-anchors-account key renew --name
--resource-group
[--key {primary, secondary}]
Examples
Regenerate spatial anchors account keys
az spatial-anchors-account key renew -n "MyAccount" -k primary --resource-group "MyResourceGroup"
Required Parameters
Name of an mixed reality account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Key to be regenerated.
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
List both of the 2 keys of a spatial anchors account.
az spatial-anchors-account key show --name
--resource-group
Examples
List spatial anchor account key
az spatial-anchors-account key show -n "MyAccount" --resource-group "MyResourceGroup"
Required Parameters
Name of an mixed reality account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ