config({ token: … })

Supply an Armor token for delegated custody

Node.js config

dotenvx.config({ token: process.env.DOTENVX_ARMOR_TOKEN })

Usage

The value is passed in the loader environment as DOTENVX_ARMOR_TOKEN. Stored-key lookup needs a compatible CLI with sdk and the required custody feature.


const dotenvx = require('@dotenvx/dotenvx')
dotenvx.config({ token: process.env.DOTENVX_ARMOR_TOKEN })

markdown