MAQPNADocs

maqpna keygen

Generate an Ed25519 signing key pair for session identities (dev and CI)

Run agents

Synopsis#

maqpna keygen -out DIR [--name identity] [--force]

Flags#

FlagTypeDescriptionDefault
--forceswitchoverwrite existing keynone
--namestringfile base nameidentity
--outstringoutput directory.

The global flags (--context, -o, --no-color, ...) work with every command.

Examples#

maqpna keygen -out ./keys
maqpna keygen -out ./keys --name ci-identity --force

What happens when you run it#

  • --force: overwrite existing key.

Exit codes#

CodeMeaning
0success
1error (the message says what failed, with a hint when there is one)
2usage error: unknown flag, missing argument or bad value; the synopsis is printed
3a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command)

Terminal demo#

maqpna keygen.cast