Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant