mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #12712 - weihanglo:unstable-flag, r=arlosi
doc: mention unstable flag `-Z asymmetric-token`
This commit is contained in:
commit
2607058a22
@ -936,7 +936,7 @@ timeout = 300 # in seconds
|
||||
* Tracking Issue: [10519](https://github.com/rust-lang/cargo/issues/10519)
|
||||
* RFC: [#3231](https://github.com/rust-lang/rfcs/pull/3231)
|
||||
|
||||
Add support for Cargo to authenticate the user to registries without sending secrets over the network.
|
||||
The `-Z asymmetric-token` flag enables the `cargo:paseto` credential provider which allows Cargo to authenticate to registries without sending secrets over the network.
|
||||
|
||||
In [`config.toml`](config.md) and `credentials.toml` files there is a field called `private-key`, which is a private key formatted in the secret [subset of `PASERK`](https://github.com/paseto-standard/paserk/blob/master/types/secret.md) and is used to sign asymmetric tokens
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user