az sf application certificate

管理應用程式的憑證。

命令

名稱 Description 類型 狀態
az sf application certificate add

將新的憑證新增至組成裝載應用程式所要使用的叢集虛擬機器擴展集。

核心 GA

az sf application certificate add

將新的憑證新增至組成裝載應用程式所要使用的叢集虛擬機器擴展集。

az sf application certificate add --cluster-name
                                  --resource-group
                                  [--cert-out-folder]
                                  [--cert-subject-name]
                                  [--certificate-file]
                                  [--certificate-password]
                                  [--secret-identifier]
                                  [--vault-name]
                                  [--vault-rg]

範例

新增應用程式憑證。

az sf application certificate add -g group-name -c cluster1  --secret-identifier 'https://{KeyVault}.vault.azure.net/secrets/{Secret}'

必要參數

--cluster-name -c

如果未指定,請指定叢集的名稱會與資源組名相同。

--resource-group -g

指定資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--cert-out-folder --certificate-output-folder

要建立之新憑證檔案的資料夾。

--cert-subject-name --certificate-subject-name

要建立之憑證的主體名稱。

--certificate-file

主要叢集憑證的現有憑證檔案路徑。

--certificate-password

憑證檔案的密碼。

--secret-identifier

現有的 Azure 金鑰保存庫秘密 URL。

--vault-name

Azure 金鑰保存庫名稱,未指定它將會是叢集資源組名。

--vault-rg

如果未指定金鑰保存庫資源組名,則為叢集資源組名。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。