diff --git a/bin/update_sops.sh b/bin/update_sops.sh index f2bf8cf..8627645 100755 --- a/bin/update_sops.sh +++ b/bin/update_sops.sh @@ -124,18 +124,16 @@ function main(){ fi # "anchor" for actions relevant to this script repo_root="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)" + # OPTIONS: ARGPARSING and VALIDATION # assume location of script as running directly from repo with keys (instead of as a standalone packaged tool) keyfiles_dir="${repo_root}" - # assume location of secrets config file in pwd + # dir containing .sops.yaml sops_config_dir="" # path to group definitions groups_def_dir="${repo_root}/groups" - # optional: opt_list_groups=0 - # optional: specify "groups" groups_list=() - # optional: secrets files to be updated secrets_file_list=() while (( $# >= 1 ));do