Skip to content

feat(infisical): support multiple secret paths#23

Merged
veerendra2 merged 4 commits into
mainfrom
feat/infisical-multi-path
May 28, 2026
Merged

feat(infisical): support multiple secret paths#23
veerendra2 merged 4 commits into
mainfrom
feat/infisical-multi-path

Conversation

@veerendra2
Copy link
Copy Markdown
Owner

This change allows users to provide a comma-separated list of paths in INFISICAL_SECRET_PATH. The client now aggregates secrets from all specified paths in FetchAll and iterates through them in Get until a match is found.

  • Updated infisicalClient to store pre-parsed paths as a slice.
  • Added strict validation to ensure at least one path is provided.
  • Updated documentation in GettingStarted.md and Infisical.md.

This change allows users to provide a comma-separated list of paths in INFISICAL_SECRET_PATH.
The client now aggregates secrets from all specified paths in FetchAll and iterates through them in Get until a match is found.

- Updated infisicalClient to store pre-parsed paths as a slice.
- Added strict validation to ensure at least one path is provided.
- Updated documentation in GettingStarted.md and Infisical.md.
@veerendra2 veerendra2 added the build Builds dev docker image label May 19, 2026
veerendra2 and others added 3 commits May 28, 2026 20:33
- Add warning logs for failed path attempts in Get() and FetchAll()
- Make FetchAll() resilient to partial failures (only fails if all paths fail)
- Add debug logging for successful fetches with secret counts
- Clarify documentation: last path takes precedence for duplicate keys
- Add detailed path behavior section with example use case

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Silent path search - only error if key not found in any path.
This prevents noise when secrets like SSH_PRIVATE_KEY exist in specific paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Docker Compose to v5.1.4
- Bitwarden SDK v2.1.0
- Infisical Go SDK v0.7.2
- Updated Kubernetes scheduling & security (#GO-21A)
- Address partially mitigated #GO-28X (off-by-one tweaks)

Govulncheck Status: Still 2 residuals (not fixed upstream).
@veerendra2
Copy link
Copy Markdown
Owner Author

claude --resume 6375a5ff-8c11-403b-bfae-d1d30245d9de

@veerendra2 veerendra2 marked this pull request as ready for review May 28, 2026 20:09
@veerendra2 veerendra2 merged commit 8f4e403 into main May 28, 2026
2 checks passed
@veerendra2 veerendra2 deleted the feat/infisical-multi-path branch May 28, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Builds dev docker image

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant