API Keys

API keys authenticate the usage-tracking service. Managing them requires a signed-in session.

paygent api-key create

$paygent api-key create --name "production"
FlagDescription
--name <name>What this key is for. Required.
--description <text>Longer note about where it is used.

The secret is shown once and stored only as a hash. Capture it at creation:

$paygent api-key create --name "production" --output json > key.json

paygent api-key list

$paygent api-key list

paygent api-key revoke

Disable a key’s ability to authenticate.

$paygent api-key revoke <id> --force

paygent api-key delete

Remove the key record.

$paygent api-key delete <id> --force