Skip to content

Add sops support#259

Open
gmajcen wants to merge 2 commits intoashald:developfrom
gmajcen:sops
Open

Add sops support#259
gmajcen wants to merge 2 commits intoashald:developfrom
gmajcen:sops

Conversation

@gmajcen
Copy link
Copy Markdown

@gmajcen gmajcen commented Apr 21, 2026

Summary

Add transparent SOPS decryption support for encrypted env files.

  • Files with .enc. in the name are auto-detected as SOPS files (by checking for sops, lastmodified, version keywords) and decrypted via sops -d before parsing
  • New Settings → Tools → EnvFile SOPS page to configure the sops executable path (defaults to /opt/homebrew/bin/sops on macOS, sops elsewhere)

No changes to run configuration workflow required.

Test plan

  • .enc.env SOPS file — vars decrypted and applied
  • Regular .env file — behavior unchanged
  • .enc.env that is not a SOPS file — no decryption attempted
  • SOPS settings page persists after IDE restart

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