Best authentication method for unattended cs_tools runs on ThoughtSpot Cloud? #302
Unanswered
tam-ta-patties-com-au
asked this question in
Q&A
Replies: 2 comments
-
|
Yes, a service account (using local auth) is the most common method to authenticate with CS Tools. SSO users are not supported since the command line tools don't support SSO workflows. Trusted Auth Token is an option, but you can only set this if you have TSE enabled on your instance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks Devin. I'm working with TS tech support to a service account (which is not allowed currently in our SSO config) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m using
cs_toolson Windows to extract ThoughtSpot metadata and BI Server usage on a daily schedule, then load the outputs into Snowflake for internal adoption / governance reporting. The business wants user attributes (e.g. Job title, Department etc) which exists in Snowflake/ThoughtSpot but ironically can't be joined to the worksheet "TS: BI Server"Environment:
cs_toolsv1.6.63.13--config ENV:My current ThoughtSpot values are stable:
THOUGHTSPOT_URL=https://company.thoughtspot.cloudTHOUGHTSPOT_USERNAME=dedicated_cstool_userThe unstable piece is auth:
401 UnauthorizedFrom the CS Tools docs, I understand bearer token auth is expected to expire after
validity_time_in_sec, so this seems to be working as designed rather than being a bug.My question is: what is the recommended auth pattern for unattended scheduled
cs_toolsruns on ThoughtSpot Cloud?Specifically:
Is the recommended production pattern for scheduled
cs_toolsautomation:secret_keyDoes
CS_TOOLS_THOUGHTSPOT__SECRET_KEYwork reliably on ThoughtSpot Cloud forsearchable metadata/searchable bi-serverautomation?If the user is an SSO user, is the best practice to create a separate local/internal service account for
cs_toolsrather than relying on short-lived bearer tokens?Is trusted authentication / secret key intended for this kind of back-end automation, or mainly for embedding flows?
If the only available option is bearer token, is there an accepted unattended refresh pattern for
cs_tools, or is bearer token generally considered unsuitable for scheduled jobs?Context:
Any guidance on the most supportable approach for ThoughtSpot Cloud would be really helpful.
Thanks.
Tam
Beta Was this translation helpful? Give feedback.
All reactions