mirror of
https://github.com/rust-lang/cargo
synced 2024-10-03 22:43:59 +00:00
cargo-credential-1password: Fix README
This commit is contained in:
parent
80326ca1f4
commit
a0555cfe15
|
@ -2,17 +2,16 @@
|
|||
|
||||
A Cargo [credential provider] for [1password].
|
||||
|
||||
`cargo-credential-1password` uses the 1password `op` CLI to store the token. You must
|
||||
install the `op` CLI from the [1password
|
||||
website](https://1password.com/downloads/command-line/). You must run `op signin`
|
||||
at least once with the appropriate arguments (such as `op signin my.1password.com user@example.com`),
|
||||
unless you provide the sign-in-address and email arguments. The master password will be required on each request
|
||||
unless the appropriate `OP_SESSION` environment variable is set. It supports
|
||||
the following command-line arguments:
|
||||
* `--account`: The account shorthand name to use.
|
||||
* `--vault`: The vault name to use.
|
||||
* `--sign-in-address`: The sign-in-address, which is a web address such as `my.1password.com`.
|
||||
* `--email`: The email address to sign in with.
|
||||
`cargo-credential-1password` uses the 1password `op` CLI to store the token. You
|
||||
must install the `op` CLI from the [1password
|
||||
website](https://1password.com/downloads/command-line/).
|
||||
|
||||
`cargo-credential-1password` supports the following command-line arguments:
|
||||
|
||||
* `--account`: The account name to use. For a list of available accounts,
|
||||
run `op account list`.
|
||||
* `--vault`: The vault name to use. For a list of available vaults,
|
||||
run `op vault list`.
|
||||
|
||||
[1password]: https://1password.com/
|
||||
[credential provider]: https://doc.rust-lang.org/nightly/cargo/reference/registry-authentication.html
|
||||
|
|
Loading…
Reference in a new issue