mirror of https://github.com/astral-sh/uv
Docs: fix env var name in providing credentials section (#8740)
I was following along the docs for this section and the index name didn't match the example before it. --------- Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
This commit is contained in:
parent
40b48267e5
commit
bf8436c16a
|
|
@ -138,12 +138,12 @@ url = "https://example.com/simple"
|
|||
```
|
||||
|
||||
From there, you can set the `UV_INDEX_INTERNAL_PROXY_USERNAME` and
|
||||
`UV_INDEX_INTERNAL_PROXY_PASSWORD` environment variables, where `INTERNAL` is the uppercase version
|
||||
of the index name, with non-alphanumeric characters replaced by underscores:
|
||||
`UV_INDEX_INTERNAL_PROXY_PASSWORD` environment variables, where `INTERNAL_PROXY` is the uppercase
|
||||
version of the index name, with non-alphanumeric characters replaced by underscores:
|
||||
|
||||
```sh
|
||||
export UV_INDEX_INTERNAL_USERNAME=public
|
||||
export UV_INDEX_INTERNAL_PASSWORD=koala
|
||||
export UV_INDEX_INTERNAL_PROXY_USERNAME=public
|
||||
export UV_INDEX_INTERNAL_PROXY_PASSWORD=koala
|
||||
```
|
||||
|
||||
By providing credentials via environment variables, you can avoid storing sensitive information in
|
||||
|
|
|
|||
Loading…
Reference in New Issue