Company
Date Published
Jan. 31, 2024
Author
Thomas Ptacek
Word count
3589
Language
English
Hacker News points
263

Summary

Fly.io has implemented a new security token system using Macaroons, a type of bearer token designed to be user-editable and enable JIT-generated least-privilege tokens. The platform uses first-party caveats for straightforward restrictions and third-party caveats for more complex scenarios. This implementation allows users to create their own roles and permissions without involving the platform developers, making it a flexible and efficient security solution.