NAME
Punk::Command::Apikey - the punk apikey subcommand
SYNOPSIS
punk apikey list [--owner ID] [--json]
punk apikey issue --owner ID --label TEXT [--scopes read,write]
[--kind live] [--rate 60]
punk apikey revoke ID
DESCRIPTION
An operator's view of Punk::Plugin::APIKey. Every verb loads the application through its own app.psgi, so the table, the kinds and the scope vocabulary are the ones it declares rather than anything repeated here.
issue prints the key once. Nothing stored it and nothing can show it again; that is the design, and the command says so rather than leaving it to be found out.
revoke sets a timestamp rather than deleting the row, so the key stays in list and in the audit of what was revoked when.
SEE ALSO
Punk::APIKey, Punk::Plugin::APIKey, Punk::Command.
AUTHOR
LNATION <email@lnation.org>
LICENSE AND COPYRIGHT
This software is Copyright (c) 2026 by LNATION <email@lnation.org>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)