az attestation
Note
此参考是 Azure CLI(版本 2.55.0 或更高版本)的 证明 扩展的一部分。 该扩展将在首次运行 az attestation 命令时自动安装。 了解更多关于扩展的信息。
此命令组是试验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
管理Microsoft Azure 证明(MAA)。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az attestation create |
创建新的证明提供程序实例。 |
Extension | Experimental |
| az attestation delete |
删除证明服务。 |
Extension | Experimental |
| az attestation get-default-by-location |
按位置获取默认提供程序。 |
Extension | Experimental |
| az attestation list |
返回订阅中的证明提供程序列表。 |
Extension | Experimental |
| az attestation list-default |
获取默认提供程序。 |
Extension | Experimental |
| az attestation policy |
管理策略。 |
Extension | Experimental |
| az attestation policy reset |
重置指定租户的证明策略,并还原到默认策略。 |
Extension | Experimental |
| az attestation policy set |
设置给定类型的证明类型的策略。 |
Extension | Experimental |
| az attestation policy show |
检索给定类型的证明类型的当前策略。 |
Extension | Experimental |
| az attestation show |
获取证明提供程序的状态。 |
Extension | Experimental |
| az attestation signer |
管理签名者。 |
Extension | Experimental |
| az attestation signer add |
将新的证明策略证书添加到策略管理证书集。 |
Extension | Experimental |
| az attestation signer list |
检索用于表示当前租户策略的证书集。 |
Extension | Experimental |
| az attestation signer remove |
删除指定的策略管理证书。 |
Extension | Experimental |
| az attestation update |
更新证明提供程序。 |
Extension | Experimental |
az attestation create
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
创建新的证明提供程序实例。
az attestation create [--certs-input-path]
[--id]
[--location]
[--name]
[--resource-group]
[--tags]
示例
AttestationProviders_Create
az attestation create --name "myattestationprovider" --resource-group "MyResourceGroup" -l westus
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
包含证书的 PEM/DER 文件的空间分隔文件路径。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
提供程序的资源 ID。 如果已指定 --id,请省略 --resource-group/-g 或 --name/-n。
应在其中创建证明提供程序的受支持 Azure 位置。 如果未指定,将使用资源组的位置。
证明提供程序的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
将分配给证明提供程序的标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation delete
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
删除证明服务。
az attestation delete [--id]
[--name]
[--resource-group]
[--yes]
示例
AttestationProviders_Delete
az attestation delete --name "myattestationprovider" --resource-group "sample-resource-group"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
提供程序的资源 ID。 如果已指定 --id,请省略 --resource-group/-g 或 --name/-n。
证明服务实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
不要提示确认。
| 属性 | 值 |
|---|---|
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation get-default-by-location
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
按位置获取默认提供程序。
az attestation get-default-by-location [--ids]
[--location]
[--subscription]
示例
AttestationProviders_GetDefaultWithLocation
az attestation get-default-by-location --location "Central US"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
Location.
az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation list
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
返回订阅中的证明提供程序列表。
az attestation list [--resource-group]
示例
AttestationProviders_ListByResourceGroup
az attestation list --resource-group "testrg1"
AttestationProviders_List
az attestation list
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation list-default
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
获取默认提供程序。
az attestation list-default
示例
AttestationProviders_GetDefault
az attestation list-default
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation show
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
获取证明提供程序的状态。
az attestation show [--id]
[--name]
[--resource-group]
示例
AttestationProviders_Get
az attestation show --name "myattestationprovider" --resource-group "MyResourceGroup"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
提供程序的资源 ID。 如果已指定 --id,请省略 --resource-group/-g 或 --name/-n。
证明服务实例的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az attestation update
命令组“证明”是实验性的,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
更新证明提供程序。
az attestation update [--ids]
[--name]
[--resource-group]
[--subscription]
[--tags]
示例
AttestationProviders_Update
az attestation update --name "myattestationprovider" --resource-group "MyResourceGroup" --tags Property1="Value1" Property2="Value2" Property3="Value3"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
证明提供程序的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
将分配给证明提供程序的标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |