Config/Navi: Add sops cheats
This commit is contained in:
@ -196,8 +196,17 @@ $ mode: echo -e "--list-keys \tList public keys\n--list-secret-keys\tList
|
|||||||
gpg --delete-secret-and-public-key <key>
|
gpg --delete-secret-and-public-key <key>
|
||||||
|
|
||||||
% gpg
|
% gpg
|
||||||
# Export public GPG key
|
# Export GPG key
|
||||||
gpg --export --armor --output <output> <key>
|
gpg <mode> --armor --output <output> <key>
|
||||||
|
$ mode: echo -e "--export \tExport public key\n--export-secret-keys\tExport private key" --- --column 1
|
||||||
|
|
||||||
|
% sops
|
||||||
|
# Edit secrets.yaml
|
||||||
|
sops --config ~/NixFlake/system/modules/sops/sops.yaml ~/NixFlake/system/modules/sops/secrets.yaml
|
||||||
|
|
||||||
|
% sops
|
||||||
|
# Rekey secrets.yaml
|
||||||
|
sops --config ~/NixFlake/system/modules/sops/sops.yaml updatekeys ~/NixFlake/system/modules/sops/secrets.yaml
|
||||||
|
|
||||||
; ===========================
|
; ===========================
|
||||||
; CODE
|
; CODE
|
||||||
|
Reference in New Issue
Block a user