az staticwebapp secrets
Manage deployment token for the static app.
Commands
Name | Description | Type | Status |
---|---|---|---|
az staticwebapp secrets list |
List the deployment token for the static app. |
Core | GA |
az staticwebapp secrets reset-api-key |
Reset the deployment token for the static app. |
Core | GA |
az staticwebapp secrets list
List the deployment token for the static app.
az staticwebapp secrets list --name
[--resource-group]
Examples
List deployment token
az staticwebapp secrets list --name MyStaticAppName
Required Parameters
Name of the static site.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az staticwebapp secrets reset-api-key
Reset the deployment token for the static app.
az staticwebapp secrets reset-api-key --name
[--no-wait]
[--resource-group]
Examples
Reset deployment token
az staticwebapp secrets reset-api-key --name MyStaticAppName
Required Parameters
Name of the static site.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |