#!/bin/sh set -eu umask 077 # Generated by Vault with hexadecimal encoding; never interpolates user input. case "$NATS_TOKEN" in ''|*[!0-9a-f]*) exit 1;; esac cat > /run/sxchnge/nats.conf <