Skip to content

Commit

Permalink
docs: Added note about authentication schemes in registry authenticat…
Browse files Browse the repository at this point in the history
…ion docs
  • Loading branch information
ranger-ross committed Jan 11, 2025
1 parent 5408cc2 commit 74bbb81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ all capital letters.
> extension by default. However, for backward compatibility reason, when both
> files exist, Cargo will read and write the file without the extension.
> **Note:** Cargo will use the token as is in the `Authorization` header without modification.
> For registries that require an authentication scheme like (like Bearer) the
> `registry.<name>.token` should be prefixed with the scheme name (ie. `Bearer `) by the user.
## Configuration keys

This section documents all configuration keys. The description for keys with
Expand Down

0 comments on commit 74bbb81

Please sign in to comment.