---
schema_version: "1"
id: 520cf688b00df48bdbc2a1e4d79b842526e65717d8578d0a3fd8d40e6e680bca
title: kerberosSettings 实体
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server/entity_kerberos.md
canonical_url: https://help.tableau.com/current/server/zh-cn/entity_kerberos.htm
source_site: help.tableau.com
content_type: documentation
content_hash: b68caddcbbfc6eb80361a0b93bd6c956ff29930d7b776f1671a49f306342dbd7
description: Reference for the kerberosSettings entity to configure Kerberos authentication via JSON.
---
[跳转到主要内容](#main-content)

# kerberosSettings 实体

在配置 Kerberos 身份验证之前，请查看[Kerberos 要求](https://help.tableau.com/current/server/zh-cn/kerberos_requ.htm)。

使用下面的配置文件模板创建一个 json 文件。使用适当的值填充各个选项之后，使用以下命令传递 json 文件并应用设置：

`tsm settings import -f /path/to/file.json`

`tsm pending-changes apply`

如果待定更改需要重新启动服务器，`pending-changes apply` 命令将显示一个提示，告知您将进行重新启动。即使服务器已停止，此提示也会显示，但在这种情况下不会重新启动。您可以使用 `--ignore-prompt` 选项隐藏提示，但这样做不会改变重新启动行为。如果更改不需要重新启动，则会在不提示的情况下应用更改。有关详细信息，请参见[tsm pending-changes apply](https://help.tableau.com/current/server/zh-cn/cli_pending-changes.htm#pending-changes-apply)。

## 配置模板

使用此模板来配置 Kerberos 设置。

**重要信息：**所有实体选项均区分大小写。

有关配置文件、实体和密钥的更多说明，请参见[配置文件示例](https://help.tableau.com/current/server/zh-cn/config_file_example.htm)。

完成 Kerberos 身份验证的初始配置后，使用[tsm authentication kerberos <commands>](https://help.tableau.com/current/server/zh-cn/cli_authentication_tsm.htm#TSMKerb)子类别来设置其他值。

{
  "configEntities": {
	"kerberosSettings": {
		"\_type": "kerberosSettingsType",
		"enabled": "true",
		"keytabFile": "/path/to/keytab\_file"
        }
     }			
 }

## 配置文件参考

以下列表包括可随 `"kerberosSettings"` 实体集一起包括的所有选项。

选项

值

enabled

选项：`true` 或 `false`。

启用 Kerberos 身份验证

keytabFile

必需。

有效 Kerberos keytab 文件的路径。

dBClasses

全局凭据的数据库类的逗号分隔列表。连接到 Cloudera 数据源时可能必需。