Skip to main content

astroctl_auth

astroctl auth

Authenticate with the AstroPulse API

Synopsis

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

astroctl auth [flags]

Examples


# 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 --orgId <orgId>

Options

-h, --help help for auth

Options inherited from parent commands

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

SEE ALSO