Skip to main content

Usage

anaconda org auth <ACTIONS> [OPTIONS]

Description

Manages authorization tokens for the Anaconda API. Tokens provide scoped access for CI/CD pipelines, automated uploads, and other non-interactive workflows. Exactly one action must be specified. For documentation for the anaconda-auth command library, see the anaconda-auth CLI reference.
This command manages API authorization tokens, which are different from the session credentials stored by anaconda login. Use anaconda auth --create to generate tokens for automation and anaconda login for interactive sessions.

Actions

Options

Examples

List available scopes
anaconda org auth --list-scopes
Create a token with specific scopes
anaconda org auth --create --name my-ci-token --scopes "repos conda:download"
List all tokens
anaconda org auth --list
Show information about the current token
anaconda org auth --info
Remove a token
anaconda org auth --remove my-ci-token
Create an organization token
anaconda org auth --create --org my-org --name org-ci-token
Create an organization token with repository access
anaconda org auth --create --org my-org --name org-ci-token --scopes "repos"
Create a short-lived token
anaconda org auth --create --name short-lived-token --max-age 3600