@@ -1108,18 +1108,27 @@ executed within the Cargo process. They are identified with the `cargo:` prefix.
1108
1108
* ` CARGO_REGISTRY_NAME_OPT ` --- Optional name of the registry. Should not be used as a storage key. Not always available.
1109
1109
1110
1110
* ` cargo:paseto ` - implements asymmetric token support (RFC3231) as a credential provider.
1111
- * ` cargo:1password ` : Uses the 1password ` op ` CLI to store the token. You must
1112
- install the ` op ` CLI from the [ 1password
1113
- website] ( https://1password.com/downloads/command-line/ ) . You must run `op
1114
- signin` at least once with the appropriate arguments (such as ` op signin
1115
- my.1password.com
[email protected] `), unless you provide the sign-in-address
1116
- and email arguments. The master password will be required on each request
1117
- unless the appropriate ` OP_SESSION ` environment variable is set. It supports
1118
- the following command-line arguments:
1119
- * ` --account ` : The account shorthand name to use.
1120
- * ` --vault ` : The vault name to use.
1121
- * ` --sign-in-address ` : The sign-in-address, which is a web address such as ` my.1password.com ` .
1122
- * ` --email ` : The email address to sign in with.
1111
+
1112
+
1113
+ ` cargo-credential-1password ` uses the 1password ` op ` CLI to store the token. You must
1114
+ install the ` op ` CLI from the [ 1password
1115
+ website] ( https://1password.com/downloads/command-line/ ) . You must run `op
1116
+ signin` at least once with the appropriate arguments (such as ` op signin
1117
+ my.1password.com
[email protected] `), unless you provide the sign-in-address
1118
+ and email arguments. The master password will be required on each request
1119
+ unless the appropriate ` OP_SESSION ` environment variable is set. It supports
1120
+ the following command-line arguments:
1121
+ * ` --account ` : The account shorthand name to use.
1122
+ * ` --vault ` : The vault name to use.
1123
+ * ` --sign-in-address ` : The sign-in-address, which is a web address such as ` my.1password.com ` .
1124
+ * ` --email ` : The email address to sign in with.
1125
+
1126
+ Install the provider with ` cargo install cargo-credential-1password `
1127
+ In the config, add it to ` global-credential-providers ` :
1128
+ ``` toml
1129
+ [registry ]
1130
+ global-credential-providers = [" cargo-credential-1password" ]
1131
+ ```
1123
1132
1124
1133
A wrapper is available for GNOME
1125
1134
[ libsecret] ( https://wiki.gnome.org/Projects/Libsecret ) to store tokens on
0 commit comments