Skip to main content

Config for ihris

Jobs that use the ihris adaptor may require authentication. A "credential" for the ihris 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": "https://ihris.example.com",
"username": "ihris_user",
"password": "@some(!)Str0ngp4ss0w0rd"
}

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 of the iHRIS FHIR server",
"format": "uri",
"minLength": 1,
"examples": [
"https://ihris.example.com"
]
},
"username": {
"title": "Username",
"type": "string",
"description": "Username for basic authentication",
"examples": [
"ihris_user"
]
},
"password": {
"title": "Password",
"type": "string",
"description": "Password for basic authentication",
"writeOnly": true,
"examples": [
"@some(!)Str0ngp4ss0w0rd"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"baseUrl",
"username",
"password"
]
}