https://pulumi.com logo
Title
w

wet-noon-14291

05/18/2021, 1:16 PM
When using the github provider you need to provide a personal access token (PAT), is there an easy way to create a PAT that isn't connected to a "real" user? Ideally, I as an admin, would like to create a token that I can use with pulumi that isn't connected to me or anyone else, but I still want to control what that token can be used for. I can of course create a "dummy" user, but that feels strange and I don't think I'm the only one that would like to have this. I know pulumi can't fix it if the issue if github doesn't support it, I'm just wondering if I've missed something and that it is already possible to create a PAT that isn't attached to a user.
b

brave-planet-10645

05/18/2021, 1:19 PM
So this is where you'd have a bot or service account for things like this
If you've got an organisation, you could have a user specifically for this
b

broad-dog-22463

05/18/2021, 1:36 PM
yes, at Pulumi we have a bot we create tokens against
w

wet-noon-14291

05/18/2021, 1:49 PM
Doesn't the bot need to have its own PAT? If yes, where does that come from?
Having a specific user is what I would like to avoid if possible... not sure I can though.
b

brave-planet-10645

05/18/2021, 1:58 PM
It's just another user account, so you get it from the same place. It's just what GitHub does
q

quiet-truck-58459

05/18/2021, 2:49 PM
Does this mean you have to create a user associated with an organisation email?
Or is there a concept of a service account within Pulumi? Basically a non-human user.
b

broad-dog-22463

05/18/2021, 2:55 PM
@quiet-truck-58459, there is not at this time but it's on the Service roadmap to work on
👍 2