diff --git a/docs/repositories.md b/docs/repositories.md index 67427c32326..a06d45f9f46 100644 --- a/docs/repositories.md +++ b/docs/repositories.md @@ -498,11 +498,12 @@ if it exists for you use case instead of doing it yourself. Alternatively, you can use environment variables to provide the credentials: ```bash -export POETRY_PYPI_TOKEN_PYPI=my-token -export POETRY_HTTP_BASIC_PYPI_USERNAME= -export POETRY_HTTP_BASIC_PYPI_PASSWORD= +export POETRY_PYPI_TOKEN_FOO=my-token +export POETRY_HTTP_BASIC_FOO_USERNAME= +export POETRY_HTTP_BASIC_FOO_PASSWORD= ``` +where `FOO` is the name of the repository in uppercase (e.g. `PYPI`). See [Using environment variables]({{< relref "configuration#using-environment-variables" >}}) for more information on how to configure Poetry with environment variables.