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

Generate scoped JWTs #299

Open
blackandred opened this issue Oct 14, 2023 · 0 comments
Open

Generate scoped JWTs #299

blackandred opened this issue Oct 14, 2023 · 0 comments

Comments

@blackandred
Copy link
Contributor

When requesting a token (with an login endpoint) I would like to limit created token to operate only on selected collections and perform only limited actions.

Reason: There may be a USER who is a SYSTEM/CLUSTER-level user that is owning multiple collections for multiple applications in his/her cluster. A Backup Maker Operator could assign credentials dynamically during backup execution, and every ScheduledBackup can get its own scoped JWT that would allow to upload only to its own collection

In short words with this pattern we could allow to create a better isolation on application level in same user account.

@blackandred blackandred added this to the Backup Repository v4.1 milestone Oct 14, 2023
@blackandred blackandred self-assigned this Oct 14, 2023
blackandred pushed a commit that referenced this issue Oct 28, 2023
blackandred pushed a commit to riotkit-org/br-backup-maker that referenced this issue Nov 1, 2023
blackandred pushed a commit to riotkit-org/br-backup-maker that referenced this issue Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant