You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
communication-keys/example/cmd_sops.sh

17 lines
393 B
Bash

#!/usr/bin/env bash
set -ueo pipefail
curdir="$(realpath $( dirname "${BASH_SOURCE[0]}"))"
keys_dir="$(realpath $( dirname "${BASH_SOURCE[0]}")/..)"
sops_cfg_dir="${curdir}"
secrets_file="${sops_cfg_dir}/mock_secrets.yaml"
cd "$( dirname "${BASH_SOURCE[0]}")/.."
# ./bin/update_sops.sh "${curdir}" "${PWD}"/
set -x
./bin/update_sops.sh "${sops_cfg_dir}" "${keys_dir}"/ "${secrets_file}"