jnc auth
Manages authentication credentials for private conda channels. Credentials are stored in the system’s authentication storage and are used automatically when accessing authenticated channels.Subcommands
jnc auth login
Stores authentication credentials for a host.
Arguments
| Argument | Description |
|---|---|
<HOST> | The hostname to authenticate with (e.g., repo.example.com). |
Options
| Option | Description |
|---|---|
--token <TOKEN> | Use a token for authentication (e.g., a Quetz API key). |
--username <USER> | Username for basic HTTP authentication. |
--password <PASS> | Password for basic HTTP authentication. |
--conda-token <TOKEN> | Use a conda token for authentication (token is included in the URL path). |
jnc auth logout
Removes stored credentials for a host.
Arguments
| Argument | Description |
|---|---|
<HOST> | The hostname to remove credentials for. |