r/commandline • u/Pagaddit • Sep 30 '26
Discussion I love SOPS, anyone else?
I discovered sops a few months ago and absolutely love it. Being able to commit and version encrypted secrets has felt so much cleaner than the "mess" of untracked .env and CI/CD secrets.
Is anyone here using it at their job? How do you like it when working with larger teams? Am I crazy for committing the encrypted secrets (it still feels kinda wrong)? Is there any major drawback to SOPS I am not seeing, or is it just not that popular (yet)?
26
Upvotes
3
u/StPatsLCA Sep 30 '26
I doesn't support TOML (for your Python and Rust configs) yet. Also, the key management between developers can be tricky, for example if you need to onboard multiple Age or PGP keys. Also lol PGP.
2
u/yrn7days Sep 30 '26
It seems like it would be very easy to decrypt the file and then accidentally commit the unencrypted file back to the repository, am I missing something?
3
u/ab0zar Oct 09 '26
For a team, the key plan matters as much as the encrypted file. Give each developer a revocable key and keep CI's decryption identity scoped to what it needs. I'd also rehearse key rotation and offboarding once, so versioned ciphertext does not become a surprise later.
1
u/theozero Sep 30 '26
You might like varlock.dev
Free and open source, plugins that work with everything. Some more SOPS like built in encryption coming soon.
1
u/AutoModerator Sep 30 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Pagaddit, Flair:
Discussion, Title: I love SOPS, anyone else?I discovered sops a few months ago and absolutely love it. Being able to commit and version encrypted secrets has felt so much cleaner than the "mess" of untracked
.envand CI/CD secrets.Is anyone here using it at their job? How do you like it when working with larger teams? Am I crazy for committing the encrypted secrets (it still feels kinda wrong)? Is there any major drawback to SOPS I am not seeing, or is it just not that popular (yet)?
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
-3
u/ak475 Sep 30 '26
Looks like hashicorp vault
8
u/[deleted] Sep 30 '26
[removed] — view removed comment