Skip to content

kindgi key

Manage the tenant's local Ed25519 signing keys under ~/.kindgi/keys/.

Generate a new Ed25519 keypair under ~/.kindgi/keys/.

Terminal window
kindgi key create <keyId> [--env <name>] [--home <dir>]

Flags:

  • --env <value>: Also print the signingKey and signerKeyId lines to add to this env block in kindgi.config.ts.
  • --home <value>: The home directory whose .kindgi/keys/ holds the keys. Default: $HOME.

Print the PUBLIC key material for a local key. Never exports the private key.

Terminal window
kindgi key export <keyId> [--format=pem|base64|raw-hex] [--home <dir>]

Flags:

  • --format <value>: The public key's encoding: pem (default), base64 or raw-hex.
  • --home <value>: The home directory whose .kindgi/keys/ holds the keys. Default: $HOME.

List local Ed25519 keys under ~/.kindgi/keys/.

Terminal window
kindgi key list [--home <dir>]

Flags:

  • --home <value>: The home directory whose .kindgi/keys/ holds the keys. Default: $HOME.

Every command also takes the global flags.