﻿# config({ resolveReferences: … })

> Opt in to resolving secret references

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

```javascript
dotenvx.config({ resolveReferences: true })
```

## Usage

Defaults to false. Resolves supported op:// and bw:// values through the shared loader and available provider tooling. Stored-private-key custody is a separate mechanism.

```javascript
const dotenvx = require('@dotenvx/dotenvx')
dotenvx.config({ resolveReferences: true })
```
