Skip to main content

Tableau tsm authentication trusted

tsm authentication trusted configuration at the command prompt using simple commands


Trusted authentication allows shared web link of Tableau report/dashboard to be accessed with login as the trusted mechanism embeds a trusted key in the URL. The key will be valid until the expiry setup in the Tableau server.

Configure trusted authentication (trusted tickets) for user authentication on Tableau Server.

Syntax:

Go to command prompt on the machine where Tableau server is installed and run the below command with correct variable/options.

tsm authentication trusted configure [options] [global options]

Ex: tsm authentication trusted configure -th "192.168.1.101"


Here "192.168.1.101" is web server IP, you can even use web server name here. 


 

Options



-th, --hosts <string>

Optional.

Specifies the trusted host names (or IPv4 addresses) of the web servers that will be hosting pages with Tableau content.

For multiple values, enter the names in a comma-separated list where each value is encapsulated in double-quotes.

For example:

tsm authentication trusted configure -th "192.168.1.101", "192.168.1.102", "192.168.1.103" 

or

tsm authentication trusted configure -th "webserv1", "webserv2", "webserv3" 

-t, --token-length <integer>

Optional.

Determines the number of characters in each trusted ticket. The default setting of 24 characters provides 144 bits of randomness. The value can be set to any integer between 9 and 255, inclusive.

Global options

-h, --help

Optional.

Show the command help.

-p, --password <password>

Required, along with -u or --username if no session is active.

Specify the password for the user specified in -u or --username.

If the password includes spaces or special characters, enclose it in quotes:

--password "my password"

-s, --server https://<hostname>:8850

Optional.

Use the specified address for Tableau Services Manager. The URL must start with https, include port 8850, and use the server name not the IP address. For example https://<tsm_hostname>:8850. If no server is specified, https://<localhost | dnsname>:8850 is assumed.

--trust-admin-controller-cert

Optional.

Use this flag to trust the self-signed certificate on the TSM controller. For more information about certificate trust and CLI connections, see Connecting TSM clients.

-u, --username <user>

Required if no session is active, along with -p or --password.

Specify a user account. If you do not include this option, the command is run using credentials you signed in with.

Comments