]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/cargo/src/doc/man/cargo-logout.md
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / cargo / src / doc / man / cargo-logout.md
index f9c0db58cd639bf6f5327020712def36d548c7dc..d8277bf54dcfc487853fb95c2ee0b8c5254b7089 100644 (file)
@@ -10,9 +10,15 @@ cargo-logout --- Remove an API token from the registry locally
 
 ## DESCRIPTION
 
-This command will remove the API token from the local credential storage.
-Credentials are stored in `$CARGO_HOME/credentials.toml` where `$CARGO_HOME`
-defaults to `.cargo` in your home directory.
+This command will run a credential provider to remove a saved token.
+
+For the default `cargo:token` credential provider, credentials are stored
+in `$CARGO_HOME/credentials.toml` where `$CARGO_HOME` defaults to `.cargo`
+in your home directory.
+
+If a registry has a credential-provider specified, it will be used. Otherwise,
+the providers from the config value `registry.global-credential-providers` will
+be attempted, starting from the end of the list.
 
 If `--registry` is not specified, then the credentials for the default
 registry will be removed (configured by