Secrets Management

sops

Age Install

sudo pacman -S age
cd ~/create/sheepdog/deploy.sh

Sops Install

# Download the binary
curl -LO https://github.com/getsops/sops/releases/download/v3.11.0/sops-v3.11.0.linux.amd64

# Move the binary in to your PATH
sudo mv sops-v3.11.0.linux.amd64 /usr/local/bin/sops

# Make the binary executable
sudo chmod +x /usr/local/bin/sops
mkdir -p /home/piegarden/.config/sops/age
# /home/piegarden/.config/sops/age/keys.txt
# /root/.config/sops/age/keys.txt

Hint: can manage recipients of keys with:

sops updatekeys
gitleaks detect --source . --no-git --verbose            

Theory

Storing Secrets in S3 Bucket as json files

Pros:

Cons: