Skip to content

Commit ac5da12

Browse files
weihangloarlosi
andcommitted
doc: mention unstable flag -Z asymmetric-token
Co-authored-by: Arlo Siemsen <arsiem@microsoft.com>
1 parent e3f2e8f commit ac5da12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/unstable.md

Lines changed: 1 addition & 1 deletion
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)