---
title: "Super Admin Registration"
description: "Define super admin registration tokens, emails, and passwords in superadmin-registration.conf."
stack: "Enterprise Stack (commercial) — version 1.2.1"
stack_version: "1.2.1"
stack_comparison: https://docs.walt.id/community-vs-enterprise.md
canonical_url: https://docs.walt.id/enterprise-stack/setup/configurations/config-files/superadmin-registration
generated: 2026-11-11
---
# Super Admin Registration

Using the `superadmin-registration.conf` file you can provide a list of super admin registration tokens mapped to an
email and password. The super admin can be activated as
explained [here](https://docs.walt.id/enterprise-stack/administration/access-and-permissions/super-admin/activate.md) and login as
shown [here](https://docs.walt.id/enterprise-stack/administration/access-and-permissions/super-admin/authenticate.md).

```hocon [superadmin-registration.conf]
tokens = {
    "token-according-super-admin-conf": {
        expiration = "2029-01-01T00:00:00Z",  # Token has to be used by this expiration date
        devModeOnly = false                   # Required in production, see below
        account = {
            type = "email"
            identifier = { email = "superadmin@walt.id" }
            data = { password = "pw-according-super-admin-conf" }
        }
    }
}
```

## `devModeOnly`

_Boolean, optional_ — defaults to `true`. A token is only usable while `dev-mode` is disabled if this
is explicitly set to `false`.

**Error:**

Production runs with `dev-mode` disabled, so a production token **must** set `devModeOnly = false`.
Leave it unset on demo and example tokens so they can never be used in production.

## Bootstrapping and recovery

Each token creates exactly one account and cannot be reused. To recover a lost super admin, add a
second token to this file, activate it, then delete the old account.

Activation is rate limited to 5 requests per minute per source IP, configurable via
[`rate-limit.conf`](https://docs.walt.id/enterprise-stack/setup/configurations/config-files/rate-limit.md).
