diff --git a/templates.d/snipeit/fqdn-context.env b/templates.d/snipeit/fqdn-context.env new file mode 100644 index 0000000..56f1258 --- /dev/null +++ b/templates.d/snipeit/fqdn-context.env @@ -0,0 +1,9 @@ +{% set VAULT_KEY = getenv("VAULT_KEY") %} +# This file is maintained by remco and populated with data from HashiCorp +# Vault. Changes not done in Vault will be reverted when file gets rendered. + +{% for key in ls(VAULT_KEY|add:"/data") %} +{{key}}={{ getv(VAULT_KEY|add:"/data/"|add:key) }} +{% endfor %} +# Set to true when needed for temporary debugging +APP_DEBUG=false