Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 392 Bytes

File metadata and controls

25 lines (17 loc) · 392 Bytes

Using sops and age

Create age key from ssh private key

ssh-to-age -private-key -i ~/.ssh/id_ed25519 -o key.txt

Create age key from ssh public key

ssh-to-age -i ~/.ssh/id_ed25519.pub -o public_key.txt

Encrypt using sops

sops encrypt secret.yml > secret.sops.yml

Decrypt using sops

sops decrypt secret.sops.yml > secret.yml