feat(infisical): support multiple secret paths#23
Merged
Conversation
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.
- 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).
Owner
Author
claude --resume 6375a5ff-8c11-403b-bfae-d1d30245d9de |
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.
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.