Skip to main content

Usage

anaconda auth login [--force | --no-force] [--ssl-verify | --no-ssl-verify] [--at <SITE>]
Replace <SITE> with a configured site name or domain.

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

Option
Default
Description
--force
--no-force
Force a new login even if already authenticated
--ssl-verify / --no-ssl-verify
--ssl-verify
Enable or disable SSL verification
--at <SITE>
Target a specific Anaconda site (name or domain)
-h, --help
Show help for this command

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.