Personal accounts have `Access Tokens`(under Setti...
# general
b
Personal accounts have `Access Tokens`(under Settings), but under Organisation Settings, there is no equivalent. Is it possible to set an Org Access Token?
w
Currently there are only access tokens associated with users. Many organizations use a dedicated CI user account (or bot use account) to provide customized access for the CI user and allocate tokens to that account. A service account token feature is on the roadmap as well.
f
Ok so can we do it programmatically?
I mean create the user then get its token using your API, maybe similarly to how I did it with a standard account
or you mean we create a token the same way on a user, but then we need to target the stacks of our Organisation, not the “personal” ones if that makes sense
w
Today: just create a use account for your CO not, give that user appropriate RBAC permissions, log in as that user, get an access token. In the future: programmatically request a service token with specific RBAC permission.