Personal Access Token
Tableau Personal Access Tokens (PAT) enable users to utilize Tableau REST APIs without requiring hard-coded credentials (username and password) or interactive sign-in.
When AUTH is pat, the following environment variables are required:
PAT_NAME
The name of the PAT to use for authentication.
PAT_VALUE
The value of the PAT to use for authentication.
Treat your personal access token value securely and do not share it with anyone or in any client-side code where it could accidentally be revealed.
Do not use a PAT when TRANSPORT is http if you expect simultaneous
requests from multiple clients since PATs cannot be used concurrently. Signing in multiple times
with the same PAT at the same time will terminate any prior session and will result in an
authentication error. See
Understand personal access tokens
for more details.
OAuth is recommended but Direct Trust can also be used.