Skip to main content

astroctl auth

Authenticate with the AstroPulse API

Synopsis​

Authenticate with the AstroPulse API and store credentials for CLI access.

Terminal
astroctl auth [flags]

Examples​

Terminal

# Login and store API token (stores in ~/.config/astropulse/config.yaml) for default organization
astroctl auth login

# Get a JWT token
astroctl auth login -p

# Login for a specific organization (please work with your organization admin)
astroctl auth login --org-id 00000000-0000-0000-0000-000000000000

# See the API keys you are holding for the current organization
astroctl auth apikey list

Options​

Terminal
-h, --help help for auth

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​