Skip to main content

astroctl auth apikey list

List your API keys for the current organization

Synopsis

List the API keys issued to you for the current organization.

Shows each key's name, status, masked value, and lifetime, so you can see how many keys you are holding before you run into the plan limit. Expired and revoked keys are listed too -- they authenticate nothing and no longer count against the limit, but seeing them explains where a key you still have on disk went.

Keys are never shown in full.

astroctl auth apikey list [flags]

Examples


# List your API keys
astroctl auth apikey list

# Output as JSON
astroctl auth apikey list -o json

# Output as YAML
astroctl auth apikey list -o yaml

Options

-h, --help help for list
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO