ReferenceCLI
Apikey Create
Apikey Create CLI command reference
goodmem apikey create
Create a new API key
Synopsis
Create a new API key in the GoodMem service.
goodmem apikey create [flags]Examples
# Create a new API key with a client-provided ID
goodmem apikey create --id "123e4567-e89b-12d3-a456-426614174000" --label env=dev
# Create a new API key (server-generated ID)
goodmem apikey create --label env=prodOptions
-h, --help help for create
--id string Optional: Client-provided UUID for the API key (16 bytes). Server generates if omitted.
--label strings Labels in key=value format (can be specified multiple times)Options inherited from parent commands
--api-key string API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
--output string Output format: table, json, or simple (default "table")
--server string GoodMem server address (gRPC API) (default "https://localhost:9090")SEE ALSO
- goodmem apikey - Manage GoodMem API keys