共用方式為


az containerapp auth facebook

管理 Facebook 識別提供者的 containerapp 驗證和授權。

命令

名稱 Description 類型 狀態
az containerapp auth facebook show

顯示Facebook識別提供者的驗證設定。

核心 GA
az containerapp auth facebook update

更新 Facebook 身分識別提供者的應用程式識別碼和應用程式密碼。

核心 GA

az containerapp auth facebook show

顯示Facebook識別提供者的驗證設定。

az containerapp auth facebook show [--ids]
                                   [--name]
                                   [--resource-group]
                                   [--subscription]

範例

顯示Facebook識別提供者的驗證設定。

az containerapp auth facebook show --name my-containerapp --resource-group MyResourceGroup

選擇性參數

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

--name -n

Containerapp 的名稱。 名稱必須包含小寫英數位元或 '-'、以字母開頭、以英數位元結尾、不能有 '--' 且必須小於 32 個字元。

--resource-group -g

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

--subscription

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

全域參數
--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。

az containerapp auth facebook update

更新 Facebook 身分識別提供者的應用程式識別碼和應用程式密碼。

az containerapp auth facebook update [--app-id]
                                     [--app-secret]
                                     [--app-secret-name]
                                     [--graph-api-version]
                                     [--ids]
                                     [--name]
                                     [--resource-group]
                                     [--scopes]
                                     [--subscription]
                                     [--yes]

範例

更新 Facebook 身分識別提供者的應用程式識別碼和應用程式密碼。

az containerapp auth facebook update  -g myResourceGroup --name my-containerapp \
  --app-id my-client-id --app-secret very_secret_password

選擇性參數

--app-id

用於登入之應用程式的應用程式識別碼。

--app-secret

應用程式秘密。

--app-secret-name --secret-name

包含應用程式秘密的應用程式秘密名稱。

--graph-api-version

登入時要使用的Facebook API版本。

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

--name -n

Containerapp 的名稱。 名稱必須包含小寫英數位元或 '-'、以字母開頭、以英數位元結尾、不能有 '--' 且必須小於 32 個字元。

--resource-group -g

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

--scopes

驗證時應要求的範圍清單。

--subscription

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

--yes -y

請勿提示確認。

預設值: False
全域參數
--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。