You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Summary
The Vault DB connector handles the happy path but lacks resilience for production Vault interactions.
Current state
internal/connectors/vaultdb/connector.go— validates_rosuffix, fetches creds, renders DSN, revokes leasesinternal/connectors/vaultdb/client.go— HTTP client for Vault APIstrings.Replace— potential injection if template or credentials contain unexpected charactersRequired work
url.QueryEscapefor credential values in DSN templates, or switch to a structured DSN builder to prevent injection{{username}}and{{password}}placeholders before accepting it_rosuffix check configurable rather than hardcoded — some deployments may have different naming conventionsFiles
internal/connectors/vaultdb/connector.go— retry, renewal, DSN safetyinternal/connectors/vaultdb/client.go— retry wrapperinternal/bootstrap/service.go— configurable role validationPriority
Medium.
🤖 Generated with Claude Code