Bakalářská práce

Kubernetes Operator for managing OAuth2 tokens

Pavol Baran
Anotace

Cieľom tejto práce je navrhnúť a implementovať Kubernetes operátora a podporné komponenty schopné namontovať prístupové tokeny OAuth 2.0 do Kubernetes nasadení. Výsledný systém nasaditeľný do Kubernetes pozostáva z troch komponentov: samotného operátora, služby schopnej získavať prístupové tokeny z GitHub a GitLab a aplikácie, ktorá demonštruje použitie pripojených tokenov na autorizáciu voči GitHub a GitLab API.

Abstract

This thesis aims to design and implement a Kubernetes Operator and supporting components capable of mounting OAuth 2.0 access tokens into Kubernetes Deployments. The resulting system, deployable to Kubernetes, consists of three components: the Operator itself, the service capable of acquiring access tokens from GitHub and GitLab, and an application that demonstrates the use of the mounted tokens to authorize with GitHub and GitLab APIs.

Zadání práce
Study OAuth 2 (RFC 6749) and appropriate OWASP standards. Explore how cloud-based git hosting services (GitHub, GitLab) enable secure delegated access to resources on behalf of the user (through OAuth 2 access tokens) for client applications. Design and implement a service (deployable in k8s cluster) that would be able to obtain access tokens after the user has completed the OAuth flow. Design and implement a k8s operator that would be responsible for mounting these access tokens into desired pods in the Kubernetes cluster. Explore the best way to store and manage access tokens during the lifecycle. Create a simple application (deployable on k8s cluster) that will demonstrate the use of the mounted access tokens for calling the GitHub/GitLab API.
Práce zkontrolována:
3. 6. 2022 12:54, Ing. Lukáš Grolig, učo 325217
Jazyk práce
angličtina angličtina
Termín obhajoby
29. 6. 2022
Práce byla úspěšně obhájena

Vedoucí

Ing. Lukáš Grolig, učo 325217
KPSK FI MU

Oponent

Ing. Lukáš Krejčí
Red Hat

  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.