ReferenceCLIAPI Keys
Apikey List
Apikey List CLI command reference
goodmem apikey list
List API keys
Synopsis
List one page of API keys discoverable to the authenticated principal.
goodmem apikey list [flags]Examples
# List the first page using the default page size
goodmem apikey list
# Request a smaller page
goodmem apikey list --max-results 5
# Continue using the opaque token printed by the preceding page
goodmem apikey list --next-token "eyJyZXF1ZXN0b3JJZCI6Li4ufQ"Options
-h, --help help for list
--lifecycle string Lifecycle: not-yet-valid, usable, expired, or revoked
--max-results int32 Maximum API keys in one page (FULL: default 10, maximum 20; BASIC: default 50, maximum 1000)
--next-token string Opaque token for fetching the next page
--owner string Exact administrative-owner UUID
--subject string Exact subject-principal UUID
--view string Projection: full (default) or basicOptions inherited from parent commands
--api-key string API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
-f, --format string Output format: table, json, or simple (default "table")
--server string GoodMem server address (gRPC API)SEE ALSO
- goodmem apikey - Manage GoodMem API keys