mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Update the index.authenticate
docs (#12102)
Follow-up to #11896 Reframes the documentation a bit. Looking into why the `[index]` child fields aren't generate in the reference correctly too.
This commit is contained in:
parent
c48af312ae
commit
a59778fca3
5 changed files with 67 additions and 44 deletions
|
@ -50,14 +50,23 @@ argument to uv, or set `UV_KEYRING_PROVIDER=subprocess`.
|
|||
|
||||
Authentication may be used for hosts specified in the following contexts:
|
||||
|
||||
- `[index]`
|
||||
- `index-url`
|
||||
- `extra-index-url`
|
||||
- `find-links`
|
||||
- `package @ https://...`
|
||||
|
||||
See the [index authentication documentation](./indexes.md#authentication) for details on
|
||||
authenticating index URLs.
|
||||
|
||||
See the [`pip` compatibility guide](../pip/compatibility.md#registry-authentication) for details on
|
||||
differences from `pip`.
|
||||
|
||||
## Authentication with alternative package indexes
|
||||
|
||||
See the [alternative indexes integration guide](../guides/integration/alternative-indexes.md) for
|
||||
details on authentication with popular alternative Python package indexes.
|
||||
|
||||
## Custom CA certificates
|
||||
|
||||
By default, uv loads certificates from the bundled `webpki-roots` crate. The `webpki-roots` are a
|
||||
|
@ -93,14 +102,3 @@ insecure.
|
|||
|
||||
Use `allow-insecure-host` with caution and only in trusted environments, as it can expose you to
|
||||
security risks due to the lack of certificate verification.
|
||||
|
||||
## Authentication with alternative package indexes
|
||||
|
||||
See the [alternative indexes integration guide](../guides/integration/alternative-indexes.md) for
|
||||
details on authentication with popular alternative Python package indexes.
|
||||
|
||||
## Configuring authentication for indexes
|
||||
|
||||
It is possible to configure how uv will handle authentication for requests to indexes. See
|
||||
[configuring authentication for indexes](indexes.md#configuring-authentication-for-indexes) for more
|
||||
details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue