bin/docc-refresh
#!/bin/sh app="$1" contexts="bolt dash dust flux kiwi luca navy nova puff taro vega wolf" if [ -z "$app" ]; then printf "%s\n" "app name required" exit 1 fi for i in $contexts; do # vault login docc --context "$i" update secret-sync -n chef "$app" --secret-auth token,$(cat ~/.vault-token) done