-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11692 - ehuss:update-1password, r=epage
Update 1password to the version 2 CLI This updates the 1password credential manager integration to the version 2 `op` CLI. The new CLI changed the commands and output and behavior in various ways, documented at https://developer.1password.com/docs/cli/upgrade/. If you have 1password, you can test this by building the `cargo-credential-1password` binary. I recommend enabling CLI integration in the app, but using the manual `op signin` process also works. Once signed in, you can test it with: ```sh echo "this-is-my-token" | CARGO_REGISTRY_NAME_OPT=crates-io \ CARGO_REGISTRY_INDEX_URL=https://github.com/rust-lang/crates.io-index ./target/debug/cargo-credential-1password store CARGO_REGISTRY_INDEX_URL=https://github.com/rust-lang/crates.io-index ./target/debug/cargo-credential-1password get CARGO_REGISTRY_INDEX_URL=https://github.com/rust-lang/crates.io-index ./target/debug/cargo-credential-1password erase ```
- Loading branch information
Showing
1 changed file
with
57 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters