Skip to main content

Usage

anaconda sites modify [OPTIONS]

Description

Modifies an existing site configuration in ~/.anaconda/config.toml. At least one of --domain or --name is required to identify the site to modify. Only the options you supply are changed; other values are preserved. Side effects: Writes to ~/.anaconda/config.toml. A diff is shown for confirmation unless --yes or --dry-run is specified.

Options

Option
Description
--domain <DOMAIN>
Domain name for the site
--name <NAME>
Name of the site entry to modify
--default
Set this site as the default
--api-key <KEY>
API key for the site. Stored in config.toml (not the keyring).
--ssl-verify / --no-ssl-verify
Enable or disable SSL verification
--use-truststore / --no-use-truststore
Use 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-flow
Use the OAuth device flow for authentication
--use-unified-repo-api-key / --no-use-unified-repo-api-key
Use a unified repository API key
--disable-conda-auto-config / --no-disable-conda-auto-config
Disable automatic conda configuration on login
-y, --yes / --dry-run
Confirm and write changes immediately, or print the diff without writing
-h, --help
Show help for this command

Examples

Change the domain for an existing site
anaconda sites modify --name my-platform --domain new-platform.example.com
Disable SSL verification for an existing site
anaconda sites modify --name my-platform --no-ssl-verify
Set an existing site as default
anaconda sites modify --name my-platform --default
Preview changes without writing
anaconda sites modify --name my-platform --domain new.example.com --dry-run