sops
chamber
Our great sponsors
sops | chamber | |
---|---|---|
150 | 12 | |
15,069 | 2,399 | |
2.4% | 1.0% | |
9.2 | 7.5 | |
9 days ago | 2 days ago | |
Go | Go | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sops
-
Pico.sh – Hacker Labs
My script just sets up default .sops.yaml for https://github.com/getsops/sops
You can further edit .sops.yaml(eg have multiple of them) and decide how you split secrets in your directory tree to further customize who can decrypt the secrets.
It works pretty well for prod/dev splits, etc
-
Encrypting your secrets with Mozilla SOPS using two AWS KMS Keys
Mozilla SOPS (Secrets OPerationS) is an open-source command-line tool for managing and storing secrets. It uses secure encryption methods to encrypt secrets at rest and decrypt them at runtime. SOPS supports a variety of key management systems, including AWS KMS, GCP KMS, Azure Key Vault, and PGP. It's particularly useful in a DevOps context where sensitive data like API keys, passwords, or certificates need to be securely managed and seamlessly integrated into application workflows.
-
An opinionated template for deploying a single k3s cluster with Ansible backed by Flux, SOPS, GitHub Actions, Renovate, Cilium, Cloudflare and more!
Encrypted secrets thanks to SOPS and Age
-
Tracking SQLite Database Changes in Git
We do the exact same thing to keep track of some credentials we use sops[1] and AWS KMS to separate credentials by sensitivity, then use the git differ to view the diffs between the encrypted secrets
Definitely not best practice security-wise, but it works well
[1] https://github.com/getsops/sops
-
The Twelve-Factor App
For anyone new to SOPS like I was - https://github.com/getsops/sops
- Storing and managing private keys
-
Show HN: Shello – Wrangle Environment Variables
I've found this is largely solved by strictly separating plain config and secrets, and then having secrets pull from GCP secret manager / vault / whatever.
You can then commit all the config (including the secret identifiers) and it all just works so long as you're authenticated with your secret storage system.
We do this for the live configuration as well in line with Gitops and find it to work well.
If you don't want to use a cloud secret manager you can also use something like https://github.com/getsops/sops to commit the encrypted secrets safely
-
Check your secrets into Git [video]
Basically, the simpler the better --just encrypt your secrets and check them in to version control.
We use SOPS[0] for this, and have found it to be pretty nice.
[0]: https://github.com/getsops/sops
-
How to secure secrets of docker-compose stacks with git?
The answer is that secrets shouldn't be stored in the git repo at all, but somewhere safe like a password manager or Mozilla's SOPS which people seem to love.
-
Is it safe to commit a Terraform file to GitHub?
Unfortunately, the SOPS project is in some sort of a limbo state and there has been quite a long period with limited maintenance and unclear position from Mozilla. Despite the project being accepted into the CNCF, it's still unclear what will happen with it going forward.
chamber
-
ssmsh VS chamber - a user suggested alternative
2 projects | 9 Nov 2023
Chamber takes an opinionated view on AWS Parameter store as compared to ssmsh
-
Ask HN: Secure and simple way for secret/credential management in a startup?
Building on this I’ve found https://github.com/segmentio/chamber to be super useful
-
I need some feedback on the README for my Django Base Site
For secrets, the PaaS platform (Github Actions, Fly.io, etc.) I usually use has a method that works with environment variables. If I need something custom on AWS, then I use Chamber backed by AWS KMS.
- Can't believe Next.js founder said my open source project is 'fantastic'
-
How can you add secrets to a dockerfile/image from AWS (Secret Manager)
We use Chamber (https://github.com/segmentio/chamber) to do this for us. Bring it into your image and use the environment variables as necessary. Some applications support using environment variables natively, you might need to add a script to write them into your config files.
-
Interfacing w/ AWS Parameter Store via REST API
You can take a look at some code I wrote a while back to do this if you want examples https://github.com/segmentio/chamber/blob/master/store/ssmstore.go .
-
How do you share and sync .env files for your team
We use AWS Parameter Store and segmentio/chamber.
-
Not sure if DevOps, but a few questions.
https://github.com/segmentio/chamber is nice with parameter store, ive used it in the past.
-
Exporting Parameter Store values to /etc/environment in a deployed EC2 instance from CloudFormation
Use Chamber.
-
Configuration of software baked into AMI
For interacting with SSM, I would recommend using https://github.com/segmentio/chamber. You could add something to your user-data script that uses chamber to load a config file (chamber export is one way to do it) from SSM on startup. You could also use Systems Manager to enable you to do a "hot reload" of sorts by sending a command to your server to run the chamber command and restart your application.
What are some alternatives?
sealed-secrets - A Kubernetes controller and tool for one-way encrypted Secrets
git2consul - Mirrors the contents of a git repository into Consul KVs.
Vault - A tool for secrets management, encryption as a service, and privileged access management
aws-sdk-go-v2 - AWS SDK for the Go programming language.
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
hiera-eyaml-vault - A hiera-eyaml encryption plugin for Vault's transit engine
git-crypt - Transparent file encryption in git
petems-hiera_vault - A hiera backend for access to secrets being stored in HashiCorp Vault
terraform-provider-sops - A Terraform provider for reading Mozilla sops files
django-base-site - The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.
vault-secrets-operator - Create Kubernetes secrets from Vault for a secure GitOps based workflow.
credstash - A little utility for managing credentials in the cloud