Skip to content

Commit 2607058

Browse files
committed
Auto merge of #12712 - weihanglo:unstable-flag, r=arlosi
doc: mention unstable flag `-Z asymmetric-token`
2 parents 0134bb6 + ac5da12 commit 2607058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/unstable.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ timeout = 300 # in seconds
936936
* Tracking Issue: [10519](https://github.com/rust-lang/cargo/issues/10519)
937937
* RFC: [#3231](https://github.com/rust-lang/rfcs/pull/3231)
938938

939-
Add support for Cargo to authenticate the user to registries without sending secrets over the network.
939+
The `-Z asymmetric-token` flag enables the `cargo:paseto` credential provider which allows Cargo to authenticate to registries without sending secrets over the network.
940940

941941
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
942942

0 commit comments

Comments
 (0)