Skip to content

Commit 88694ae

Browse files
committed
docs(auth): With recommended config, call out precedence
I thought the recommendation was doing the opposite of what I expected until I dug further. While this is covered in the config docs, we should explicitly call it out.
1 parent 299f031 commit 88694ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/src/reference/registry-authentication.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ global-credential-providers = ["cargo:token", "cargo:libsecret"]
4545
global-credential-providers = ["cargo:token", "cargo:wincred"]
4646
```
4747

48+
Note that later entries have higher precedence.
4849
See [`registry.global-credential-providers`](config.md#registryglobal-credential-providers)
4950
for more details.
5051

0 commit comments

Comments
 (0)