openfaas-env
v0.0.1
Published
Loads the OpenFaas secrets in a pod into the ENV variables
Downloads
2
Readme
openfaas-env
Loads the OpenFaas secrets in a pod into the ENV variables automagically.
Installation
npm i openfaas-env
Usage
Place as high-up in the execution as possible:
require("openfaas-env");
Case transformation
Automatically transforms lowercase secrets (e.g. my-secret) to uppercase nodejs ENVs (e.g. MY_SECRET).