Closed RF8g793 closed 5 months ago
Hey @RF8g793 - it's a totally fair comment. I need to do better on the documentation front.
I've included a gif here of the process to grab that bearer token, setting its lifetime to ~8000hours, and applying it in the configuration file. This is on v1.5.1 that I just released, which also removed the interactive mode of defining that config. To upgrade to it from 1.5.0 , you should be able to run cs_tools self update
.
I hope this helps, let me know if you find the gif approach more useful, and I can add something similar to the documentation for all the options.
![output](https://github.com/thoughtspot/cs_tools/assets/14192437/376d7710-2b15-4fde-b14b-2d79a7123617)
Additionally, you can place your password or secret key in the same file so that you have a backup authentication mechanism. Just specify it in the same command with --password ...
or --secret ...
options.
Thank you! The gif was extremely useful!! Can't wait for more documentation to pass the learning curve. There was two additional steps : Clicking on Develop tab -- >REST Playground v2.0 --> Authentication tab. Also, not sure why? I had to run a sudo environment in order to run cs_tools.
Also, not sure why? I had to run a sudo environment in order to run cs_tools.
@RF8g793 you don't necessarily have to, but it is useful to have an admin-level scope for many of the tools. The tools are using the ThoughtSpot REST APIs under the hood, so whatever User you specify in your configuration, is the level of privilege that is used for the tools as well.
What that means is, In order to use something like User Management (which creates/deletes Users and Groups) or Searchable which is intended to fetch cluster-level metadata , you would need to be an Administrator level.
In terms of os-level sudo
.. you definitely should not need this. If you found you had to use sudo
in order to get things running, I'd love to sit together and check why. I tend to avoid sudo
for everything if at all possible.
That makes since considering I am a super admin. Sure. I do have some questions in terms of features too. It seems that at this moment I need to use a combo of CS-tools and Pure rest api. What is the best way to reach out to you?
Shoot me an email and we can find a time together @RF8g793
Sent the email. Thanks! Closing the issue.
First Stop
Platform Configuration
2024-04-02T10_58_44.log
Description
I am completely lost on how to sign in. I read the documentation but still nothing happens but an error. I attempted to get a full access token but not sure how to call to the server either. Is there other documentation that break things down? Also, not sure how to install it as a python package too. The documentation states it is possible nut no code.