tableau
How to get these credentialsTableau server URL and site plus a personal access token or a connected app (direct trust)
CREATE SECRET tableau (
TYPE tableau,
server_url '<server_url>',
site_content_url '<site_content_url>',
pat_name '<pat_name>',
pat_secret '<TABLEAU_PAT_SECRET>', -- secret
client_id '<client_id>',
secret_id '<secret_id>',
secret_value '<TABLEAU_SECRET_VALUE>', -- secret
username '<username>',
scopes '<scopes>',
api_version '<api_version>',
page_size '<page_size>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| server_url | VARCHAR | β | Tableau Cloud pod or Tableau Server URL, e.g. https://10ax.online.tableau.com (http:// only for 127.0.0.1/localhost). |
| site_content_url | VARCHAR | β | Site content URL (the part after /site/ in a URL); '' for Default. |
| pat_name | VARCHAR | β | Personal access token name. |
| pat_secret secret | VARCHAR | β | Personal access token secret. |
| client_id | VARCHAR | β | Connected app client id (instead of a PAT). |
| secret_id | VARCHAR | β | Connected app secret id (the JWT kid). |
| secret_value secret | VARCHAR | β | Connected app secret value (signs the HS256 JWT). |
| username | VARCHAR | β | Tableau username the connected app signs in as (the JWT sub). |
| scopes | VARCHAR | β | Space-separated connected-app scopes; defaults to read-only tableau:*:read scopes. |
| api_version | VARCHAR | β | Pin the REST API version (e.g. 3.24); default: read from serverinfo. |
| page_size | VARCHAR | β | Rows per REST / Metadata API page, 1β1000 (default 100). |
The worker doesn't mark which keys are required.