cargo login

Save an API token from the registry locally. The token is used to authenticate to a package registry. You can remove it using cargo logout. More information: https://doc.rust-lang.org/cargo/commands/cargo-login.html.

cargo login

cargo login --registry {{name}}