Usage
Description
Adds a new site configuration to~/.anaconda/config.toml. At minimum, --domain is required. If --name is omitted, the domain is used as the site name. When this is the only configured site, it is automatically set as the default_site.
A diff is shown for confirmation unless --yes or --dry-run is specified.
Options
Option
Description
--domain <DOMAIN>(required) Domain name for the site
--name <NAME>Name for the site entry. Defaults to the domain if not supplied.
--defaultSet this site as the default
--api-key <KEY>API key for the site. Stored in
config.toml (not the keyring).--ssl-verify / --no-ssl-verifyEnable or disable SSL verification
--use-truststore / --no-use-truststoreUse the system truststore for SSL verification
--extra-headers <JSON>Extra headers (as a JSON string) to include with every request
--proxy-servers <JSON>Proxy server mapping as a JSON string
--client-cert <PATH>Path to a client certificate file
--client-cert-key <PATH>Path to the client certificate key file
--use-device-flow / --no-use-device-flowUse the OAuth device flow for authentication
--use-unified-repo-api-key / --no-use-unified-repo-api-keyUse a unified repository API key
--disable-conda-auto-config / --no-disable-conda-auto-configDisable automatic conda configuration on login
--remove-anaconda-com / --no-remove-anaconda-comRemove the built-in
anaconda.com site entry when adding a new site (default: —remove-anaconda-com)-y, --yes / --dry-runConfirm and write changes immediately, or print the diff without writing
-h, --helpShow help for this command