Skip to main content

Usage

anaconda auth login [OPTIONS]

Description

Opens the browser to complete OAuth authentication and store an API key in the configured keyring. If you are already authenticated, you are prompted to confirm before re-authenticating.
If the site is configured with use_device_flow = true, a device code flow is used instead of a browser redirect (useful for SSH sessions and headless servers).
If you need to authenticate on a system without browser access, you can set the ANACONDA_AUTH_API_KEY environment variable. See Non-interactive usage.

Options

Examples

Logging in
anaconda auth login
Forcing a new login
anaconda auth login --force
If you’re already logged in, you’ll be prompted to confirm whether to force a new login. Using --force skips this prompt.