-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> SOPS: Secrets OPerationS.
> Tool for managing secrets.
Encrypt a file:
sops -e {path/to/myfile.json} > {path/to/myfile.enc.json}
Decrypt a file to the standard output:
sops -d {path/to/myfile.enc.json}
Rotate data keys for a sops file:
sops -r {path/to/myfile.enc.yaml}
Change the extension of the file once encrypted:
sops -d --input-type json {path/to/myfile.enc.json}
Extract keys by naming them, and array elements by numbering them:
sops -d --extract '["an_array"][1]' {path/to/myfile.enc.json}
Show the difference between two sops files:
diff <(sops -d {path/to/secret1.enc.yaml}) <(sops -d {path/to/secret2.enc.yaml})
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Tue May 21 07:46:34 2024