Skip to main content

Config for beyonic

Jobs that use the beyonic adaptor may require authentication. A "credential" for the beyonic 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.

{
"apiUrl": "https://beyonic.com/api",
"apiToken": "cdjhiooiSIUJHDYSYUIHASIOHKAANOAJJjsiujhaka"
}

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": {
"apiUrl": {
"title": "API URL",
"type": "string",
"description": "API URL",
"format": "uri",
"minLength": 1,
"examples": [
"https://beyonic.com/api"
]
},
"apiToken": {
"title": "API Token",
"type": "string",
"description": "API token",
"minLength": 1,
"examples": [
"cdjhiooiSIUJHDYSYUIHASIOHKAANOAJJjsiujhaka"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"apiUrl",
"apiToken"
]
}