automates listing of keyfiles

ADP-179_sops_manage_keys
LeeW 11 months ago
parent b7bcc8dd2c
commit f6380e7668

@ -1,6 +1,7 @@
#/usr/bin/env bash #/usr/bin/env bash
# Purpose: manage .sops.yaml based on gpg keys in the same dir
set -euo pipefail set -euo pipefail
# sops.yaml doc: https://github.com/getsops/sops?tab=readme-ov-file#using-sops-yaml-conf-to-select-kms-pgp-and-age-for-new-files
function fn_extract_fpr(){ function fn_extract_fpr(){
gpgkeyfile=$1;shift; gpgkeyfile=$1;shift;

Loading…
Cancel
Save