az attestation
Note
此參考是 Azure CLI 證明延伸模組 的一部分(2.55.0 版或更高版本)。 擴充功能會在您第一次執行 az attestation 命令時自動安裝。 深入了解擴充功能。
此命令群組是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
管理Microsoft Azure 證明 (MAA)。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| 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
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
包含憑證的 PEM/DER 檔案的空間分隔檔案路徑。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
提供者的資源標識碼。 如果您已經指定 --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/。
訂用帳戶的名稱或標識碼。 您可以使用 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"
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
提供者的資源標識碼。 如果您已經指定 --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/。
訂用帳戶的名稱或標識碼。 您可以使用 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"
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
Location. 值的來源:az account list-locations。 您可以使用 az configure --defaults location=<location>來設定預設位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | 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
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 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/。
訂用帳戶的名稱或標識碼。 您可以使用 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"
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
提供者的資源標識碼。 如果您已經指定 --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/。
訂用帳戶的名稱或標識碼。 您可以使用 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"
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
證明提供者的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
將指派給證明提供者的標記。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |