Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az search admin-key
Manage Azure AI Search admin keys.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az search admin-key renew |
Regenerates either the primary or secondary admin API key. |
Core | GA |
| az search admin-key show |
Gets the primary and secondary admin API keys for the specified Azure AI Search service. |
Core | GA |
az search admin-key renew
Regenerates either the primary or secondary admin API key.
You can only regenerate one key at a time. .. seealso:: - https://aka.ms/search-manage.
az search admin-key renew --key-kind
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
Required Parameters
The type (primary or secondary) of the admin key.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the search service.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
az search admin-key show
Gets the primary and secondary admin API keys for the specified Azure AI Search service.
.. seealso:: - https://aka.ms/search-manage.
az search admin-key show --resource-group
--service-name
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the search service.
Feedback
Was this page helpful?
