Config for resourcemap
Jobs that use the resourcemap
adaptor may require authentication. A
"credential" for the resourcemap
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.
{
"baseUrl": "http://some-site-of-yours.com:8080"
}
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",
"type": "string",
"default": "http://some-site-of-yours.com:8080",
"description": "ResourceMap base URL",
"format": "uri",
"minLength": 1,
"examples": [
"http://some-site-of-yours.com:8080"
]
},
"username": {
"title": "Username",
"type": "string",
"description": "Your ResourceMap username",
"minLength": 1,
"examples": [
"admin"
]
},
"password": {
"title": "Password",
"type": "string",
"description": "Your ResourceMap password",
"writeOnly": true,
"minLength": 1,
"examples": [
"@super(!)Secret"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"baseUrl"
]
}