feat: add Bitwarden Secrets Manager provider (bws://)#69
Open
nickdichev wants to merge 3 commits intocachix:mainfrom
Open
feat: add Bitwarden Secrets Manager provider (bws://)#69nickdichev wants to merge 3 commits intocachix:mainfrom
nickdichev wants to merge 3 commits intocachix:mainfrom
Conversation
Co-authored-by: Claude <noreply@anthropic.com>
Implement a native BWS provider using the bitwarden SDK v2.0.0 (async, feature-gated behind `--features bws`). - URI format: bws://<project-uuid> - Auth via BWS_ACCESS_TOKEN environment variable - Flat key names with project UUID providing namespace isolation - OnceLock-based client caching (login once, reuse across calls) - OnceLock-based secret list caching (single list_by_project + get_by_ids) - Full read-write support (get, set, get_batch) - Unit tests for config parsing, provider metadata, and error handling Implements PLAN.md Issues cachix#1, cachix#3, cachix#4. Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a provider for Bitwarden Secrets Manager (BWS). Note: this is only for BWS side but I think that adding the password manager implementation would now be straight forward with the addition of the
bitwardencrate.I'd also like to point out that I don't know Rust and Claude did a majority of the work. I read the code and it looks reasonable to me -- but I'm really not sure.