Repository navigation
Proposal: scoped API tokens and roles #646
Closed
sumansaurabh
started this conversation in
Ideas
Replies: 1 comment
|
Thanks for proposing this. It shipped in What you get:
It is off by default ( Docs: https://microvm.aerol.ai/enterprise/sso/ Not in this release: custom roles and per-sandbox permissions (four fixed |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The problem
The operator token can do everything on a server. It can create and delete any sandbox, read any sandbox's environment variables and run commands in any sandbox. You cannot give a CI job a token that only creates sandboxes, or give a teammate one that can only read.
What you can do today
Put your own service in front of AerolVM and decide there who can do what. Keep the operator token inside that service.
A starting shape
The API's auth layer already tells two kinds of callers apart: the operator, who sees everything, and an owner-scoped caller, who sees only their own sandboxes. The open-source build only accepts the operator token today. The proposal fills in the second kind:
Questions for you
How to weigh in
React with 👍 if you need this, and comment with your answers.
Want to talk it through? Book a call with the maintainer, or join the community call on the first Saturday of every month at 8 pm Pacific Time.
If your company needs this soon, you can sponsor the work. It is built in the open and ships to everyone.
All reactions