Skip to main content

Users & Permissions Overview

Codex includes a comprehensive user management system with fine-grained permissions. This guide covers user creation, permission management, and API keys.

Quick Start

Create Admin User

# Via CLI during setup
codex seed --config codex.yaml

Add Users

  1. Go to Settings > Users
  2. Click Add User
  3. Set username, email, password
  4. Select permissions
  5. Save

Create API Key

  1. Go to Profile > API Keys
  2. Click Create API Key
  3. Name the key and select permissions
  4. Copy the key (shown only once!)

Core Concepts

User Types

TypeAccessUse Case
AdminFull system accessServer administrators
UserPermission-basedRegular readers
API KeyPermission-basedAutomation, scripts

Authentication Methods

MethodUse CaseExample
JWT TokenWeb UI, API clientsAuthorization: Bearer token
API KeyAutomation, servicesAuthorization: Bearer codex_key
Basic AuthSimple clients, OPDScurl -u user:pass

In This Section