sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.29k forks source link

Provide service account users for API access #14210

Open dadlerj opened 4 years ago

dadlerj commented 4 years ago

reported by https://app.hubspot.com/contacts/2762526/company/768958891

oh one final question is there a way to have a service account token that can be used by this for the api so it is not tied to a specific user? asking to make sure things like someone leaving the company does not break it

I replied:

no unfortunately I don’t think we do. However, it is possible to to create “fake” or bot users (e.g. go to Site-admin > Users and click “New user”). They will not be able to sign in at all without being in your SSO. But, as an admin, you can then visit their user page (Site-admin > Users and search for them), click on Settings, then Access Tokens, and you can create one there. I believe these should work.

And he replied:

ok, and that makes a billable user, so just was checking

So ideally this would exist without it being a billable user.

tsenart commented 4 years ago

@dadlerj: Is this to avoid the billing associated with a "bot" user? What's the priority of this request from your perspective? Seems low to me.

dadlerj commented 4 years ago

@dadlerj: Is this to avoid the billing associated with a "bot" user?

Exactly, so this can also be solved for now via the sales team/discouts

What's the priority of this request from your perspective? Seems low to me.

Correct! Added ce/p4