Config for openfn
Jobs that use the openfn adaptor may require authentication. A
"credential" for the openfn adaptor will follow the schema below. When
using the CLI, you can set up your own state.configuration by using the
sample below.
Sample Configuration
Paste this into the configuration key of your state.json file and
modify the values to run jobs locally.
{}
Full Schema
The full configuration schema describes each attribute of the credential and notes those that are required.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"baseUrl": {
"title": "Host",
"type": "string",
"description": "The OpenFn Base URL",
"format": "uri",
"default": "https://app.openfn.org",
"minLength": 1,
"examples": [
"https://app.openfn.org"
]
},
"access_token": {
"title": "API Token",
"type": "string",
"description": "Your OpenFn API Token",
"minLength": 1
}
},
"type": "object",
"additionalProperties": true,
"required": [
"access_token"
]
}