Version 5.7.0 Documentation

Documentation

Each page has one purpose. Start with the overview, then follow the guides in the order that you need them.

Start

Use

Authentication and sessions

This page describes how a person authenticates to the portal and how the portal keeps the session.

Grants and the gate

A grant lets a user or a key do one action on one node of a service. The gate checks the grant access on each request that Traefik sends to portal.

Identity tokens and the PDP

portal gives an identity token to each service that a user or a key can reach. It also answers the questions of the services about grants, as an AuthZEN policy decision point (PDP).

Keys and limits

A key lets a program call a service for a user. A key never has more rights than its owner. A grant can also hold limits: ceilings that the service applies, and budgets that the PDP counts.

Launcher and service discovery

The launcher is the home page of the portal. It shows one tile for each service that the signed-in person can open. A service declares itself with labels or annotations, and the portal finds it.

Settings pages and history

The settings pages are where the superadmin manages accounts, services and keys, and where it reads the history. An account that is not the superadmin sees only the tabs that its permissions open.

Several instances (PostgreSQL)

By default, one process owns a SQLite file, and only one instance can be active. The optional postgres block moves all data to a shared PostgreSQL database.

Traefik and TLS

portal knows nothing about TLS. Traefik terminates TLS and calls portal for each request that needs a decision. This page lists the duties of the deployment in Traefik.

Inbox

The Inbox is a feature of the portal. It sends alerts to Android phones and makes sure that each subscribed phone shows each alert one time.

Inbox: agents

This chapter tells how an agent uses the portal. An agent is a program that asks a person to approve an action, or to answer. The person is the owner of the key that the agent uses.

Inbox: Android app

The Android app Portal Inbox receives the alerts of one or more portals. It also lets the owner answer the approvals and the questions of agents.

Inbox: phone protocol

This page describes the protocol between the Inbox of the portal and the Android app Portal Inbox: enrollment, the Noise session, and the frames. It is for the author of a client or of a test.

Inbox: configuration rules

This page gives the rules of the block inbox that the table of keys cannot show. It tells which blocks go together, which keys have no default, and which keys contradict each other.

Inbox: security model

The Inbox carries alerts that can be vital. This page gives the security model of the Inbox: what it protects, how, and what it does not cover.

Inbox: requirements

This document states what the Inbox must do and why. The Inbox is a feature of the portal. The code is the reference for details. The design page gives the reasons for the main choices.

Configure and operate

Reference