Skip to main content

Config for minio

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

{
"endPoint": "play.min.io",
"port": 9000,
"accessKey": "Q3AM3UQ867SPQQA43P2F",
"secretKey": "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
}

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": {
"endPoint": {
"title": "End Point",
"description": "MinIO server hostname or IP",
"minLength": 1,
"examples": [
"play.min.io"
]
},
"port": {
"title": "Port",
"type": "number",
"description": "Port number",
"examples": [
9000
]
},
"useSSL": {
"title": "Use SSL",
"type": "boolean",
"description": "Whether to use SSL",
"default": true,
"examples": [
true
]
},
"accessKey": {
"title": "Access Key",
"type": "string",
"description": "Access key for MinIO",
"writeOnly": true,
"examples": [
"Q3AM3UQ867SPQQA43P2F"
]
},
"secretKey": {
"title": "Secret Key",
"type": "string",
"description": "Secret key for MinIO",
"writeOnly": true,
"examples": [
"zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"endPoint",
"port",
"accessKey",
"secretKey"
]
}