Work

Användarvänlig åtkomstkontroll i molnhanteringssystem

Year: 2025
Type: dissertation
Abstract: Kubernetes has emerged as a primary method and unified platform for managing server infrastructure, across both public and private clouds. Kubernetes provides a uniform, generic, extensible and declarative application programming interface (API), that both allow humans to self-service, and other platforms to build on top. The Open Worldwide Application Security Project (OWASP) highlighted Broken Access Control as the top API security weakness in 2023. Kubernetes provides powerful access control mechanisms, but for the authorization and admission request stages separately. There is no concept of conditional authorization, which would bind these two separate stages together uniformly. This thesis proposes empowering policy authors to write conditionally authorized policies, and a method to implement this, without changing Kubernetes core. This capability makes it easier to write right-sized policies, without having to understand the request stage separation internals. This thesis also proposes an encoding of Kubernetes API surface into a general-purpose authorization language, Cedar Policy. Cedar was chosen after extensive evaluation of the authorization engine landscape, because it is expressive, safe, fast, and even analyzable in satisfiability modulo theories (SMT) logic. The SMT encoding empowers features such as autocompletion, policy validation, and partially ordering the policies, which all then by the proposed integration can benefit Kubernetes policy authors. This thesis finds the outlook positive for Kubernetes being able to map into the Cedar data model, and thus be able to take advantage of advanced general-purpose features. This composable approach reduces the engineering effort required in Kubernetes when implementing features. It is found that it is possible to empower policy authors to write uniform, conditionally authorized policies without exposing the Kubernetes-internal two-stage split to the author. However, not all Cedar features required for this Kubernetes integration are yet available as stable features. Future work includes gathering policy author feedback from the proposed experience, evaluation of making conditional authorization a core primitive of Kubernetes and stabilizing the Cedar features required by Kubernetes.
Author: Käldström, Lucas
Institution: Aalto University
Language: English
Open Access status: green
OpenAlex ID: W6979978136
Cites: 19
Cited by:
Related to: 10