bookstack/prep.d/20-rand-pwd.sh

6 lines
163 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
[[ template "common/vault.rand_secrets" dict "ctx" . "keys" (coll.Slice "app_key") "cmd" "echo base64:$(openssl rand -base64 32)" ]]