Hi @LoveIsGrief - welcome to the community forums!
You rationale for this feature request is that it is too complicated to install the Bitwarden CLI, which seems odd given that it is only a single executable file. I get that checking SHA signatures is an additional step, but were you aware that the bw-cli is also installable by Snap, Homebrew, Chocolatey, and Node’s NPM? These installers cover all the major OS’s supported by Bitwarden.
I think your feature request would be much more compelling if you could explain how installing a docker image is going to be any less complicated or time consuming. Or is it just a personal preference of yours to install software as a docker image (e.g., because you want bw on a NAS)?
That’s a lot of work just to install and make bw available in the CI environment. What it could look like is
get secrets:
image: bitwarden/cli:1.22.0
script:
- bw --help
No wget, no checksum verification, no PATH modification, just an image like 1Password provides, and the rest is up to me. It would make the switch from 1password that little bit easier
I hope others trying to achieve similar things support your request with their votes so this feature request attracts some attention by the BW devs. Cheers!
Adding my support for this - I would really like to see a Bitwarden official Docker image for the CLI. We are a paying Teams customer with Enterprise clients of our own
Same here, (already added my vote, but my company pays for teams as well) I could definitely see it being very useful for CI/CD use cases.
I particularly end up using container images to copy single binaries (i.e. terraform/packer - golang binaries) out of so I’m getting the official version of the client to use inside my containers. That way (in theory) the provider of the binaries are already doing the necessary security things (signing and verifying signatures) to ensure their containers haven’t been tampered with and I don’t have to.