Files
opentf/internal/encryption/method/external/protocol/output.schema.json
2025-01-31 12:13:18 -05:00

18 lines
827 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/opentofu/opentofu/main/internal/encryption/keyprovider/externalcommand/protocol/output.schema.json",
"title": "OpenTofu External Encryption Method Output",
"description": "Output schema for the OpenTofu external encryption method protocol. The external provider must read the input from stdin and write the output to stdout. It may write to stderr to provide more error details.",
"type": "object",
"properties": {
"payload": {
"title": "Payload",
"description": "The encrypted/decrypted data.",
"type": "string",
"contentEncoding": "base64",
"contentMediaType": "application/octet-stream"
}
},
"required": ["payload"],
"additionalProperties": false
}