Skip to content

A Cargo credential provider for Bitwarden

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Jantje19/cargo-credential-bitwarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-credential-bitwarden

A Cargo credential provider for Bitwarden.

This crate borrows heavily from the cargo-credential-1password crate.

Usage

cargo-credential-bitwarden uses the Bitwarden bw CLI to store the token. You must install the bw CLI from the Bitwarden website.

Afterward you need to configure cargo to use cargo-credential-bitwarden 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-bitwarden --sync"]

Finally, run cargo login to save your registry token in Bitwarden.

CLI Arguments

cargo-credential-bitwarden supports the following command-line arguments:

  • --email: The email address used to login.
  • --sync: Automatically sync the local vault before getting the credential and automatically sync when the credential gets updated.

About

A Cargo credential provider for Bitwarden

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages