-
Notifications
You must be signed in to change notification settings - Fork 81
Description
On the CLI documentation https://docs.semaphoreci.com/reference/sem-command-line-tool/ it is stated that
You can find the exact sem connect command, which includes your current organization's name and access token, by selecting the CLI widget in the top-right corner of any screen on Semaphore.
Your access token is always available, and revokable, on your account page.
So there are two suggestions how to find the access token.
I tried both but none of them worked. Here are the details:
1. The CLI widget seems to be missing
Here's what I see:

And here is what I expected to see (source: https://semaphoreci.medium.com/ci-cd-for-microservices-on-digitalocean-kubernetes-b913fa0b3404):
The code icon is not visible (at least for me).
2. I can not see my access token on my account/profile page.
Here's what I see:

If the API token is the access token that I need, then I can't copy/get it from here either.
I assume that my organisation settings or my account's permissions in the organisation may have something to do with this - but if that's the reason then it would be nice to have a note about it in the documentation.
Update:
And I thought "Here's the access token now!" - but to my disappointment the "full command" only stated
sem connect studitemps.semaphoreci.com _YOUR_API_TOKEN_ :(
So, to further add some details to the questions/issues above:
- The CLI widget is not shown "on any screen" in Semaphore - just on some, and I can't tell on which ones.
- This is not "top right" (as stated in the documentation) - it's more like top-left-after-some-titles. :)
- The connect command does not (anymore?) include the actual token - but a placeholder instead - YOUR_API_TOKEN
I assume that's a security improvement, but let's not leave the documentation behind. :)

