Skip to content

Repository files navigation

conda auth

A conda plugin for handling authenticated access to private channels.

Conda auth currently supports the following types of authentication:

  • HTTP Basic Authentication
  • token authentication

On top of this, conda auth supports session management via two subcommands for logging into services (conda auth login) and logging out of services (conda auth logout).

Installation

Conda auth is available on conda-forge. As with all conda plugins, this must be installed into your base environment:

conda install --name base --channel conda-forge conda-auth

Usage

Log in to a channel protected by HTTP basic authentication:

conda auth login https://example.com/my-protected-channel --basic

Log in to an anaconda.org channel with a token:

conda auth login my-private-channel --token

Log out of a channel to remove credentials from your computer:

conda auth logout https://example.com/my-protected-channel

The login commands prompt for secrets by default. Passing passwords or tokens directly on the command line is supported for non-interactive automation, but may expose them in shell history or process listings.

Contributing to This Project

Contributions are very welcome to this project!

Feel free to:

  1. File bug reports
  2. Create feature requests
  3. Open pull requests to resolve issues available in the Github issues queue.
  4. Review open pull requests
  5. Report any typos, wrong/outdated information on the documentation website.
  6. Engage in ongoing discussions in this project and add new ideas.

Head to the Developers Guide for this project to learn how to set up your development environment.

Do join the conda Matrix chat to get in touch with the rest of conda community and post any questions that you might have.

Happy Contributing!

About

Conda plugin for various conda auth handlers

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages