chore: remove vault_config schema definition and vault_store property from config schema - #4295
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughDeletes the transport config vault backend: removes ChangesVault config removal and auth validation updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Comment |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
chore: remove vault_config schema definition and vault_store property from config schema
903c007 to
a8b690c
Compare
7963b7c to
058f7b7
Compare
Confidence Score: 5/5Safe to merge — the change removes schema and Go struct fields that were already agreed to be dormant, and cleans up unreachable test assertions. All three files make consistent, targeted removals: the schema drops No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "chore: remove vault store reference" | Re-trigger Greptile |
a8b690c to
1c8bccb
Compare
Merge activity
|
…y from config schema` (#4295) ## Summary Removes the `vault_store` configuration block and the `vault_config` schema definition from the transport config schema. This cleans up the external secret manager (vault) integration configuration that was previously defined for AWS Secrets Manager, GCP Secret Manager, and HashiCorp Vault backends. ## Changes - Removed the `vault_store` property from the transport configuration object - Removed the `vault_config` `$defs` entry, which included all backend-specific sub-schemas for AWS, GCP, and HashiCorp Vault, along with their conditional `required` rules and field-level descriptions ## Type of change - [ ] Bug fix - [ ] Feature - [x] Refactor - [ ] Documentation - [ ] Chore/CI ## Affected areas - [ ] Core (Go) - [x] Transports (HTTP) - [ ] Providers/Integrations - [ ] Plugins - [ ] UI (React) - [ ] Docs ## How to test Validate that the config schema no longer accepts a `vault_store` key and that existing configurations without vault settings continue to validate correctly. ```sh go test ./... ``` ## Breaking changes - [x] Yes - [ ] No Any transport configurations currently using the `vault_store` block will fail schema validation after this change. Users relying on vault-backed secret storage via this config block will need to migrate to an alternative secrets management approach before upgrading. ## Related issues ## Security considerations This removes the schema support for delegating secret storage to external vault backends (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault). Ensure that any sensitive fields previously routed through vault are handled securely through an alternative mechanism after this change. ## Checklist - [ ] I read `docs/contributing/README.md` and followed the guidelines - [ ] I added/updated tests where appropriate - [ ] I updated documentation where needed - [ ] I verified builds succeed (Go and UI) - [ ] I verified the CI pipeline passes locally if applicable <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Configuration** * Removed external secrets vault backend support from configuration, including AWS, GCP, and HashiCorp Vault integrations. * **Chores** * Updated deployment configuration validation to replace the removed auth flag with explicit admin_username, admin_password, and is_enabled checks for both governance and top-level auth. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

Summary
Removes the
vault_storeconfiguration block and thevault_configschema definition from the transport config schema. This cleans up the external secret manager (vault) integration configuration that was previously defined for AWS Secrets Manager, GCP Secret Manager, and HashiCorp Vault backends.Changes
vault_storeproperty from the transport configuration objectvault_config$defsentry, which included all backend-specific sub-schemas for AWS, GCP, and HashiCorp Vault, along with their conditionalrequiredrules and field-level descriptionsType of change
Affected areas
How to test
Validate that the config schema no longer accepts a
vault_storekey and that existing configurations without vault settings continue to validate correctly.go test ./...Breaking changes
Any transport configurations currently using the
vault_storeblock will fail schema validation after this change. Users relying on vault-backed secret storage via this config block will need to migrate to an alternative secrets management approach before upgrading.Related issues
Security considerations
This removes the schema support for delegating secret storage to external vault backends (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault). Ensure that any sensitive fields previously routed through vault are handled securely through an alternative mechanism after this change.
Checklist
docs/contributing/README.mdand followed the guidelinesSummary by CodeRabbit