feat(secret-sync): support for vault KV engine v1#5460
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile OverviewGreptile SummaryThis PR adds support for HashiCorp Vault KV engine version 1, expanding on the existing v2-only support. The implementation automatically detects the KV version at runtime by querying the Key Changes:
Architecture: Confidence Score: 4/5
Important Files Changed
|
backend/src/services/app-connection/hc-vault/hc-vault-connection-service.ts
Outdated
Show resolved
Hide resolved
…on-service.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
scott-ray-wilson
left a comment
There was a problem hiding this comment.
LGTM, confirmed delete, sync and import behavior
Context
This PR adds support for vault's kv engine v1 (previously only v2 was supported). No changes made to the secret sync API and the vault engine version is determined during runtime.
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).