Config for memento
Jobs that use the memento adaptor may require authentication. A
"credential" for the memento 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.
{
"token": "1234567890"
}
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": "Base URL",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The base URL (https://api.mementodatabase.com)",
"format": "uri",
"minLength": 1,
"default": "https://api.mementodatabase.com",
"examples": [
"https://api.mementodatabase.com"
]
},
"apiVersion": {
"title": "API Version",
"type": "string",
"description": "API Version",
"default": "v1",
"examples": [
"v1"
]
},
"token": {
"title": "Memento Auth Token",
"type": "string",
"description": "Memento Cloud User Auth Token",
"writeOnly": true,
"examples": [
"1234567890"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"token"
]
}