Structs§
Functions§
- generate_
key - Generate a random
sk--prefixed secret (32 bytes of entropy, hex-encoded). Used for both admin tokens and virtual API keys. - key_
admin_ routes - Build admin key management routes, protected by admin token auth.
- load_
stored_ keys - Load keys from storage and merge with TOML config keys. TOML keys take precedence on name conflicts.