Skip to content

Bitwarden CLI client built from source running on alpine linux.

License

Notifications You must be signed in to change notification settings

jitesoft/docker-bitwarden-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitwarden Client

Bitwarden-cli client built from source for Alpine linux and Distroless.

Bitwarden is an open source password manager which can be used both with a SaaS License or by self hosting.
The CLI client can be used in CI/CD or by anyone who prefer to not use a Desktop or Web based password manager client.

Usage

Authentication can easily be done by using an API key created in the bitwarden web client, the CLI client uses the BW_CLIENTID and BW_CLIENTSECRET environment variables which can be used when in a non-interactive mode.

The image exposes the AUTO_LOGIN and AUTO_UNLOCK env variables, allowing you to automatically login and unlock vault on startup (via the entrypoint script).

docker run --rm -i -t -e BW_CLIENTID=abc123 -e BW_CLIENTSECRET=abc123 -e AUTO_LOGIN=true -e AUTO_UNLOCK=true jitesoft/bitwarden-client bw ...
# Alt
docker run --rm -i -t -e BW_CLIENTID=abc123 -e BW_CLIENTSECRET=abc123 -e jitesoft/bitwarden-client /bin/ash
 > bw login
 > bw unlock
 > bw ...

Dockerfile

Dockerfile and scripts can be found at GitLab or GitHub.

Image labels

This image follows the Jitesoft image label specification 1.0.0.

Signature

Cosign public key for this image can be found at https://jitesoft.com/cosign.pub.

Licenses

This repository is released under the MIT license.
Bitwarden cli source code is released under the GNU General Public License v3.0.

Check dependency graph for full dependencies and licensing of the bitwarden cli project.

Sponsors

Jitesoft images are built via GitLab CI on runners hosted by the following wonderful organisations:

Fosshost logo Aarch64 logo

The companies above are not affiliated with Jitesoft or any Jitesoft Projects directly.


Sponsoring is vital for the further development and maintaining of open source.
Questions and sponsoring queries can be made by email.
If you wish to sponsor our projects, reach out to the email above or visit any of the following sites:

Open Collective
GitHub Sponsors
Patreon