31 questions
Best practices
0
votes
1
replies
60
views
Doing password rotation with spring-boot
I'm a DevOps engineer trying to implement password rotation for multiple services, some are Python, some Node but most are Kotlin and are using spring-boot, Our passwords are encrypted outside AWS and ...
0
votes
1
answer
113
views
Flux with SOPS doesn't decrypt stringData [closed]
I'm trying to use fluxcd on my kubernetes cluster, which is working perfectly fine.
Now I wanted to add prometheus/grafana stack and use sops to decrypt the basic_auth part in the scrapingConfig from ...
2
votes
1
answer
1k
views
How to use sops exec-file with docker-compose? [closed]
I can't use docker compose and sops together, I don't know why
sops exec-file file.env "docker compose --env-file {} up -d"
hangs forever, but this works:
sops exec-file file.env "cat ...
0
votes
1
answer
117
views
Encrypted realm.properties file not working with EKS
I am using sops to encrypt the realm.properties file which has the credentials for users to login to Rundeck. It is working on the ECS mode of deployment but seeing a Invalid User and Password. error ...
3
votes
1
answer
1k
views
Is it ok to commit .sops.yaml into your repo?
Mozilla Sops uses a .sops.yaml files which among others contains the public keys that are used for encryption. It would be convenient to include these in your repo so you can easily keep track what ...
1
vote
0
answers
393
views
How Terraform deploy Helm packages with encrypted stuff (helm secrets)
In the our Helm repository, we have a CI/CD with GitHub actions, when we change helm templates or values, then CI will package helm stuff and push it to GCR as an image. see it as following GitHub ...
0
votes
1
answer
159
views
Mozilla SOPS. 2 out of 3 users have to present their PGP keys to decrypt. How Alice & Bob make sure that other won't steal their private key?
Lets imaging we have configured in sops.yaml that 2 out of 3 users have to present their private keys to decrypt the encrypted values. Lets imagine a situation Bob and Alice decided to change the file ...
1
vote
1
answer
4k
views
Grafana helm chart with PostgreSQL instead of SQLite 3 - How to hide the database credentials
I'm using Grafana with Helm https://github.com/grafana/helm-charts/tree/main/charts/grafana. I would like to switch from SQLite 3 to PostgreSQL as my backend database. However, I'm concerned about the ...
0
votes
1
answer
2k
views
How to extract value with SOPS without the extra newline in the output?
I'm trying to extract values from a SOPS-encrypted JSON file to export them into environment variables in order to run a web app, but the extraneous newlines keeps driving me crazy.
For example, given ...
3
votes
1
answer
3k
views
Allow sops encryption, but not decryption?
I'm trying to create a secrets.json file that can be checked into git. I want for my entire team to be able to add / encrypt a value to the secrets file, but not decrypt a value. We're using Google ...
-1
votes
1
answer
1k
views
SOPs with Terraform using Alias's
i have a working sops solution to encrypt files using 1 aws accounts (aws_sops) KMS and then deploy the secrets to another aws accounts secret manager (aws_secrets).
This is done via connecting to the ...
0
votes
1
answer
850
views
mozilla sops needed to encrypt a value in a shell file
I need to encrypt a file using SOPS. The string I am trying to encrypt is the "XXXXXXXX" part below:
aws=($(aws sts assume-role --role-arn arn:aws:iam::XXXXXXXXXXXXX:role/dummy --role-...
1
vote
0
answers
122
views
How to integrate Mozilla Sops with Kubernetes
I want to integrate sops with Kubernetes to decrypt the K8's resource. We are using Helm chart for deployment through Jenkins CICD. Our Kubernetes charts is placed on Git where we run a scripts to ...
9
votes
3
answers
12k
views
Is it possible to update a SOPS-encrypted file without decrypting it first?
I'm using Mozilla SOPS to encrypt secrets, the results of which are committed to a git repo shared by the other members of a project. When using SOPS for personal projects, I am using age to encrypt/...
1
vote
2
answers
3k
views
Flux not decrypting using SOPS
I have configured Flux to use SOPS to decrypt. Here's a brief highlight of what I did. In the gotk-sync.yaml file I have added the decryption property.
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
...