Skip to content

feat: support multiple paths in infisical run#220

Merged
mathnogueira merged 4 commits intomainfrom
matheus/secrets-267-add-multi-path-support-to-infisical-run
May 7, 2026
Merged

feat: support multiple paths in infisical run#220
mathnogueira merged 4 commits intomainfrom
matheus/secrets-267-add-multi-path-support-to-infisical-run

Conversation

@mathnogueira
Copy link
Copy Markdown
Contributor

@mathnogueira mathnogueira commented May 6, 2026

Description 📣

Users were injecting secrets from multiple paths by running:

infisical run --env=dev --path=/parameters/sdlc-tools/IES -- \
infisical run --env=dev --path=/secrets/sdlc-tools/IES -- \
command

Now we support multiple --path and load them all in one call:

infisical run --env=dev --path=/parameters/sdlc-tools/IES --path=/secrets/sdlc-tools/IES  -- \
command

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

Tests 🛠️

  • To ensure retro-compatibility with only one --path
    • single path
    • single path with --recursive
    • single path with --secret-overriding=false
    • single path with --watch
  • Multiple paths
    • /app1 and /app2 and see if both sets of variables would be merged
    • /app1 and /app2 to ensure conflicts would pick secrets from app1
    • /app2 and /app1 to ensure conflicts would pick secrets from app2
    • /app1 and /app2 with --secret-overriding=false to ensure conflicts would pick from /app2 (same behavior as --recursive with single path)
    • /app1 and /app1/sub to ensure subpaths are merged
    • /app1 and /app1/sub with --recursive to ensure conflicts would pick secrets from the app1 (same behavior as SDK/CLI with single path)
    • with --watch

@linear
Copy link
Copy Markdown

linear Bot commented May 6, 2026

@infisical-review-police
Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-cli-220-feat-support-multiple-paths-in-infisical-run

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91cee7f797

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/cmd/run.go
Comment thread packages/cmd/run.go Outdated
@mathnogueira mathnogueira requested a review from adilsitos May 7, 2026 14:05
Comment thread packages/cmd/run.go
Comment thread packages/cmd/run.go
@mathnogueira mathnogueira merged commit 8e70d95 into main May 7, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants