Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.36 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.36 KB

CI

Bitwarden CLI Git Credential Helper

This is a project to integrate the Bitwarden CLI with Git so as to avoid inconveniences in having to retype a password multiple times, or manage multiple Bitwarden credentials for different sites

Security Warning

This program insecurely caches a session key on the hard drive

Installation

bash <(curl -s https://raw.githubusercontent.com/AZMCode/git-credential-bw/master/devScripts/install.sh) This will automatically install the script using either yarn or npm (Your Choice)

Usage

git config credential.helper bw while inside a repo to set up the helper locally. git config --global credential.helper bw to set up the helper globally.

Manual Installation

Download the NPM-Package asset from the latest release and run npm install --global <The File> or yarn global add <The File>.

Build (Including the docs) and Install Manually

Clone the repo, and run yarn build:all-rel && yarn global add $PWD

Configuration

You can run git config --global --add bw.timeout <Timeout in seconds> to control the timeout for the session key, and to suppress the warning that pops up otherwise 😬. You can set the timeout to -1 to disable it.

Package Documentation

Right Here