Skip to main content

astroctl_auth

astroctl auth

Get a API token for the Astro Plane API

Synopsis

Get a API token for the Astro Plane API, which can be used to authenticate to the API.

astroctl auth [flags]

Examples


# Get a API token (stores in ~/.config/astropulse/config.yaml) for default organization
astroctl auth login

# Get a JWT token
astroctl auth login -p

# Get the API token 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