gen

command
v0.94.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command gen regenerates the embedded auth-disabled API token (keyset/token.jwt), signed with the committed private keyset. Run from the repo root:

go run ./pkg/authmode/keyset/gen > pkg/authmode/keyset/token.jwt

The claims are fixed (see pkg/authmode/token.go) so the one token validates on every authdisabled instance. Only rerun this if the keyset or those claims change.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL