mos-docs

Token

The Token menu allows you to store and manage authentication tokens used by MOS for API access and external services.
These tokens enable extended functionality, higher API limits, and secure integration with third-party platforms.

The Token menu is located under:

Settings → Network → Token

Example:

grafik


Token Types

MOS Admin API Token

MOS Admin API Tokens are used to authenticate against the MOS administrative API.

Create Admin API Token

To create a new token, click + ADD.

A dialog will open where you can define:

Once created, the token can be used for API access and automation.


External Service Tokens

External service tokens increase API limits and prevent download throttling when interacting with public repositories.


GitHub Token

A GitHub token allows MOS to access GitHub repositories with higher API limits.

Benefits:

GitHub Token Setup

  1. Log in to GitHub
  2. Click your profile picture (top right)
  3. Select Settings
  4. Scroll down and open Developer settings
  5. Go to Personal access tokens
  6. Select Fine-grained tokens
  7. Click Generate new token

Recommended settings:

Token Usage in MOS


Docker Hub Token

A Docker Hub token allows MOS to authenticate against Docker Hub and increases image pull rate limits.

Benefits:

Docker Hub Token Setup

  1. Log in to Docker Hub
  2. Click your profile picture (top right)
  3. Select Account Settings
  4. Open Personal Access Tokens
  5. Click Generate New Token

Recommended settings:

Token Format for MOS

The Docker Hub token must be entered in the following format:

USERNAME:TOKEN

Replace USERNAME with your Docker Hub username and TOKEN with the generated access token.


Security Notes


Summary

The Token menu centralizes authentication credentials for MOS and external services.

Key points:

Proper token management ensures reliable and uninterrupted access to external resources.