mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

Like PR 12352 but for homepage and repository Versions for * `cargo-credential-1password` * `cargo-util-schemas` * `home` are bumped along with the change.
cargo-credential-1password
A Cargo credential provider for 1password.
Usage
cargo-credential-1password
uses the 1password op
CLI to store the token. You
must install the op
CLI from the 1password
website.
Afterward you need to configure cargo
to use cargo-credential-1password
as
the credential provider. You can do this by adding something like the following
to your cargo config file:
[registry]
global-credential-providers = ["cargo-credential-1password --account my.1password.com"]
Finally, run cargo login
to save your registry token in 1password.
CLI Arguments
cargo-credential-1password
supports the following command-line arguments:
--account
: The account name to use. For a list of available accounts, runop account list
.--vault
: The vault name to use. For a list of available vaults, runop vault list
.