Crates.io | cargo-credential-pass |
lib.rs | cargo-credential-pass |
version | 1.0.0 |
source | src |
created_at | 2024-08-01 22:47:49.175587 |
updated_at | 2024-09-02 21:15:08.305023 |
description | Keep your cargo registry tokens encrypted in your pass store |
homepage | |
repository | https://github.com/domodwyer/cargo-credential-pass |
max_upload_size | |
id | 1322584 |
size | 46,733 |
A Cargo credential provider for pass.
Because no one likes plaintext credentials on disk :(
cargo-credential-pass
:% cargo install --locked cargo-credential-pass
[registry]
global-credential-providers = ["cargo-credential-pass"]
cargo login
will pop up your editor - paste your registry token and
close the window.Your token will now be stored as an encrypted text file in
$PASSWORD_STORE_DIR/cargo-registry/<registery-name>.token
.
That's it - you're good to go!
Kinda - just cargo! ↩