CLI Overview

Command-line interface for SIG issuer and consumer operations.

The ak command-line interface provides tools for issuing, managing, and verifying SIG (Signed Identity Graph) feeds. It covers the full lifecycle from issuer initialization through event authoring, verification, and authorization decisions.

Installation

cargo install --path crates/authkeep-cli

Commands

CommandDescription
init-issuerInitialize the .well-known directory structure for an issuer.
rotate-keyAdd a new signing key to an existing issuer.
append-upsertAppend a relationship.upsert event to the event feed.
append-revokeAppend a relationship.revoke event to the event feed.
verifyVerify a feed’s signatures and sequence integrity.
dump-stateVerify and dump the derived relationship state as JSON.
checkMake an app-facing authorization decision against derived state. Alias: allow.
generate-fixturesGenerate Appendix D style fixture files for testing and reference.

Getting Help

Every command supports the --help flag:

ak --help
ak init-issuer --help
ak verify --help