LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cargo-logout

Remove a saved registry API token

TLDR

Logout from crates.io
$ cargo logout
copy
Logout from specific registry
$ cargo logout --registry [my-registry]
copy

SYNOPSIS

cargo logout [options]

DESCRIPTION

cargo logout removes the API token for a registry from local storage. This revokes the token saved by cargo login.

PARAMETERS

--registry name

Registry to logout from (default: crates-io)
-v, --verbose
Verbose output
-q, --quiet
Suppress output

BEHAVIOR

Removes the token entry from ~/.cargo/credentials.toml for the specified registry. Does not revoke the token on the server side.

INSTALL

sudo apt install cargo
copy
sudo dnf install cargo
copy
sudo apk add cargo
copy
sudo zypper install cargo
copy
nix profile install nixpkgs#cargo
copy

CAVEATS

To fully revoke access, also regenerate the token on the registry website (e.g., https://crates.io/me for crates.io). Only removes local credentials.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid