README
This module reads the content of a the secrets.json file either at config/secrets.json or /run/secrets/secrets.json (Docker Secrets).
Returned as JS object.
Exits process with exit code 99 if secrets file cannot be found
Reads secrets.json file from confg/secrets.json or mounted by docker at /run/secrets/secrets.json
<script type="module">
import kjdSecret from 'https://cdn.skypack.dev/kjd-secret';
</script>
This module reads the content of a the secrets.json file either at config/secrets.json or /run/secrets/secrets.json (Docker Secrets).
Returned as JS object.
Exits process with exit code 99 if secrets file cannot be found