Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project-scoped API tokens to limit the risks #7928

Open
Jackenmen opened this issue Feb 18, 2021 · 2 comments
Open

Add project-scoped API tokens to limit the risks #7928

Jackenmen opened this issue Feb 18, 2021 · 2 comments
Labels
Accepted Accepted issue on our roadmap Feature New feature

Comments

@Jackenmen
Copy link

Details

It seems that currently you can only create a per-user API token which has access to all the projects you have access to. I think it would make sense to have a way to limit the scope of a user token to the specific project or have per-project API tokens in addition to per-user API tokens. I'm guessing the former might be easier to achieve, but I'm putting both in this proposal so that the best option can be decided on.

Currently, the only way to achieve something like this would be to create a secondary account that only has access to one, specific project.

@humitos humitos added Accepted Accepted issue on our roadmap Feature New feature labels Feb 18, 2021
@humitos
Copy link
Member

humitos commented Feb 18, 2021

Hi! Thanks for the feedback.

We have talked about this already and we started implementing this some some time ago (3 years now!?) but it was too complex and we were spending too much time on it, so we decided to start having a better API (now APIv3!) and add scoped based token as a feature in the future. Maybe we are in the future already? 😄

stsewd added a commit that referenced this issue May 3, 2023
- Ref readthedocs/meta#21
- Ref #7928 (not
  directly, but it opens the door for the future)
stsewd added a commit that referenced this issue Jun 13, 2023
- Ref readthedocs/meta#21
- Ref #7928 (not
  directly, but it opens the door for the future)
@humitos
Copy link
Member

humitos commented Jul 3, 2023

This work may be easier to do now that we have implemented scoped tokens for our build system in #10378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Feature New feature
Projects
Status: Planned
Development

No branches or pull requests

2 participants