CLICommands
attestation
snug attestation <COMMAND>Attestation - Prove external account ownership via posted proofs.
Subcommands
| Command | What it does |
|---|---|
generate-text | Generate a unique proof text to post publicly |
verify | Verify a posted proof and record an attestation |
list | List verified proofs for a user |
get | Get a single attestation by proof ID |
audit | Show the audit trail for an attestation |
resolve | Resolve a platform identity to its active verified attestation |
revoke | Revoke an attestation |
Run snug attestation <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug attestation generate-text --platform twitter --identity alice_crypto
snug attestation generate-text --platform github --identity alice --public-key="$(cat ec_pub.pem)"
snug attestation verify --platform twitter --identity alice_crypto --proof-url https://twitter.com/alice_crypto/status/123
snug attestation verify --platform github --identity alice --proof-url https://gist.github.com/alice/abc --expires-in 2592000
snug attestation list
snug attestation list --user-id user_123 --platform github
snug attestation get --proof-id proof_xyz789
snug attestation audit --proof-id proof_xyz789 --limit 20
snug attestation revoke --proof-id proof_xyz789
snug attestation resolve --platform github --identity aliceNext
- attestation guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.