itchio / butler

🎩 Command-line itch.io helper
MIT License
744 stars 55 forks source link

Ability to create scoped API tokens #225

Open rcorre opened 2 years ago

rcorre commented 2 years ago

I'd like to create butler tokens that can only be used to push builds to a particular project.

Consider this scenario:

My token could be exposed in a few ways:

It would be nice to know that if a secret leaks, it only grants permissions to a single project, rather than my whole itch.io account.