Files
opentf/internal/encryption/keyprovider/external/protocol/header.schema.json
Diógenes Fernandes 044374f75a convert .json files from using CRLF to LF (#3212)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-08-29 14:03:08 -03:00

21 lines
880 B
JSON

{
"$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
}