blob: f4f3c5d90b15d715797d8e4081134562114f7846 [file] [edit]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/opentofu/opentofu/main/internal/encryption/keyprovider/externalcommand/protocol/header.schema.json",
"title": "OpenTofu External Key Provider Header",
"description": "Header line output when an external key provider is launched. This must be written on a single line followed by a newline character. Note that the header may contain additional fields in later protocol versions.",
"type": "object",
"properties": {
"magic": {
"$comment": "Magic string identifying the key provider as such.",
"type": "string",
"enum": ["OpenTofu-External-Key-Provider"]
},
"version": {
"$comment": "Protocol version number",
"type": "integer",
"enum": [1]
}
},
"required": ["magic","version"],
"additionalProperties": true
}