Skip to content

Commit

Permalink
Docs: fix env var name in providing credentials section (#8740)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jbandoro and charliermarsh authored Nov 1, 2024
1 parent 40b4826 commit bf8436c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration/indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf8436c

Please sign in to comment.