Advanced

dotenvx.config(envKeysFile: '../../.env.keys')

Use envKeysFile to customize the path to your .env.keys file. This is useful with monorepos.

# .env
HELLO="World"
// index.js
require('@dotenvx/dotenvx').config({path: ['.env'], envKeysFile: '../../.env.keys'})