mba-cli key

3 commands

Read API keys (key-scoped)

Synopsis#

bash
mba-cli key <command> [flags]

Available commands#

mba-cli key getGet one API key by id
Get single API key Get a single API key by ID Get one API key by id
--idstringAPI key record id
mba-cli key lsList API keys
Get all API keys Get all the API keys for the current tenant List API keys
--allbool = falseReturn all keys (paginate=false)
--limitint = 20Items per page
--pageint = 1Page number
mba-cli key usageShow API key usage (tenant-wide, or one key with --id)
Get tenant API key usage Get the monthly usage statistics for all API keys across the tenant --- Get single API key usage Get the daily usage statistics for a single API key Show API key usage (tenant-wide, or one key with --id)
--daysint = 0Key usage window in days
--idstringAPI key record id (omit for tenant usage)
--monthsint = 0Tenant usage window in months
Was this page helpful?