﻿# config({ token: … })

> Supply an Armor token for delegated custody

[Node.js config](/docs/sdk/nodejs/config/)

```javascript
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.

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