dcos auth list-providers

ENTERPRISE

列出群集的登录提供商

说明

dcos auth list-providers 命令列出群集可用的登录提供商。

使用

  1. dcos auth list-providers <url> [flags]

选项

名称说明
—json返回 JSON 格式的提供商列表。
-h—help显示列表提供商的帮助。

位置自变量

名称说明
<url>

示例

在本示例中,列出了可用的 DC/OS 身份认证提供程序。

  1. dcos auth list-providers

输出应类似于:

  1. PROVIDER ID AUTHENTICATION TYPE
  2. dcos-services Authenticate using a DC/OS service user account (using username and private key)
  3. dcos-users Authenticate using a standard DC/OS user account (using username and password)

父命令

命令说明
dcos auth管理 DC/OS 身份和访问。