Skip to content

Fortified IDDocs

Exports Put

Configuration reference for the Exports Put valve.

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}

NameDescriptionDefault valueMandatoryExpanded
nameName of a single export. Use together with value for backwards-compatible single-export configuration.N/A
valueValue for a single export. Can be a simple value such as a string or a complex value such as a JsonObject.N/A
valuesObject containing one or more exports to create in the same valve. Each key becomes the export name and each value becomes the exported value.{}
replaceIf an export already exists, should it be replaced?true

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

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