> For the complete documentation index, see [llms.txt](https://docs.fortifiedid.se/pipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fortifiedid.se/pipes/valves/exports/exports-put.md).

# Exports Put

Configuration reference for the Exports Put valve.

## Introduction

`ExportsPut` exports values to the exports scope so they can be reused later in the same pipe. You can configure either a single export with `name` and `value`, or multiple exports in one valve with `values`.

`${exports.my_property}`

## Configuration

{% hint style="info" %}
**Valve name:** `ExportsPut`
{% endhint %}

{% tabs %}
{% tab title="Properties" %}

<table><thead><tr><th>Name</th><th>Description</th><th>Default value</th><th data-type="checkbox">Mandatory</th><th data-type="checkbox">Expanded</th></tr></thead><tbody><tr><td><code>name</code></td><td>Name of a single export. Use together with <code>value</code> for backwards-compatible single-export configuration.</td><td><code>N/A</code></td><td>false</td><td>true</td></tr><tr><td><code>value</code></td><td>Value for a single export. Can be a simple value such as a string or a complex value such as a JsonObject.</td><td><code>N/A</code></td><td>false</td><td>true</td></tr><tr><td><code>values</code></td><td>Object containing one or more exports to create in the same valve. Each key becomes the export name and each value becomes the exported value.</td><td><code>{}</code></td><td>false</td><td>true</td></tr><tr><td><code>replace</code></td><td>If an export already exists, should it be replaced?</td><td><code>true</code></td><td>false</td><td>false</td></tr></tbody></table>
{% endtab %}

{% tab title="Example" %}

```json
{
    "name": "ExportsPut",
    "enabled": true,
    "config": {
        "values": {
            "token_type": "${state.body.token_type}",
            "access_token": "${state.body.access_token}",
            "expires_in": "${state.body.expires_in}"
        }
    }
}
```

{% endtab %}
{% endtabs %}

If you only need to export one value, the existing single-export format still works:

```json
{
    "name": "ExportsPut",
    "enabled": true,
    "config": {
        "name": "token_type",
        "value": "${state.body.token_type}"
    }
}
```
