From 2c2db197fc2a737026fde16c1a878c0e8f726850 Mon Sep 17 00:00:00 2001 From: John Mumm Date: Wed, 2 Apr 2025 19:31:18 +0200 Subject: [PATCH] Add qualification to authenticate always documentation (#12498) It might not be obvious to some users that authenticate always will not prevent uv from consulting other indexes. --- docs/configuration/indexes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/configuration/indexes.md b/docs/configuration/indexes.md index 373d7307e..a4e66ea6e 100644 --- a/docs/configuration/indexes.md +++ b/docs/configuration/indexes.md @@ -207,7 +207,9 @@ authenticate = "always" ``` When `authenticate` is set to `always`, uv will eagerly search for credentials and error if -credentials cannot be found. +credentials cannot be found. If the discovered credentials are not valid (i.e., the index returns a +HTTP 401 or 403), then uv will treat packages as unavailable and query the next configured index as +described in the [index strategy](#searching-across-multiple-indexes) section. ### Disabling authentication