Skip to content

Commit e3162cf

Browse files
committed
docs(auth): Don't get in the way of recommendation and commentary
1 parent 9818f43 commit e3162cf

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,18 @@ which defaults to:
1919
* Unix: `~/.cargo/config.toml`
2020

2121
This recommended configuration uses the operating system provider, with a fallback to `cargo:token`
22-
to look in Cargo's [credentials](config.md#credentials) file or environment variables.
23-
24-
Some private registries may also recommend a registry-specific credential-provider. Check your
25-
registry's documentation to see if this is the case.
26-
22+
to look in Cargo's [credentials](config.md#credentials) file or environment variables:
2723
```toml
2824
# ~/.cargo/config.toml
2925
[registry]
3026
global-credential-providers = ["cargo:token", "cargo:libsecret", "cargo:macos-keychain", "cargo:wincred"]
3127
```
32-
33-
Note that later entries have higher precedence.
28+
*Note that later entries have higher precedence.
3429
See [`registry.global-credential-providers`](config.md#registryglobal-credential-providers)
35-
for more details.
30+
for more details.*
31+
32+
Some private registries may also recommend a registry-specific credential-provider. Check your
33+
registry's documentation to see if this is the case.
3634

3735
## Built-in providers
3836
Cargo includes several built-in credential providers. The available built-in providers

0 commit comments

Comments
 (0)