{"service":"HALOWERK agentenwerk","endpoint":"/v1/oss-tofu-encrypted-state-roundtrip","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"state_json":{"type":"string","minLength":1,"maxLength":2097152},"passphrase":{"type":"string","minLength":32,"maxLength":1024}},"required":["state_json","passphrase"],"additionalProperties":false},"requestExample":{"state_json":"{\"version\":4,\"terraform_version\":\"1.12.6\",\"serial\":1,\"lineage\":\"00000000-0000-4000-8000-000000000001\",\"outputs\":{},\"resources\":[{\"mode\":\"managed\",\"type\":\"terraform_data\",\"name\":\"old\",\"provider\":\"provider[\\\"terraform.io/builtin/terraform\\\"]\",\"instances\":[{\"schema_version\":0,\"attributes\":{\"id\":\"00000000-0000-4000-8000-000000000002\",\"input\":{\"value\":\"alpha\",\"type\":\"string\"},\"output\":{\"value\":\"alpha\",\"type\":\"string\"},\"triggers_replace\":null},\"sensitive_attributes\":[]}]}],\"check_results\":null}","passphrase":"public-synthetic-fixture-passphrase-only-2026"},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"state_json":{"type":"string","minLength":1,"maxLength":2097152},"passphrase":{"type":"string","minLength":32,"maxLength":1024}},"required":["state_json","passphrase"],"additionalProperties":false},"requestExample":{"state_json":"{\"version\":4,\"terraform_version\":\"1.12.6\",\"serial\":1,\"lineage\":\"00000000-0000-4000-8000-000000000001\",\"outputs\":{},\"resources\":[{\"mode\":\"managed\",\"type\":\"terraform_data\",\"name\":\"old\",\"provider\":\"provider[\\\"terraform.io/builtin/terraform\\\"]\",\"instances\":[{\"schema_version\":0,\"attributes\":{\"id\":\"00000000-0000-4000-8000-000000000002\",\"input\":{\"value\":\"alpha\",\"type\":\"string\"},\"output\":{\"value\":\"alpha\",\"type\":\"string\"},\"triggers_replace\":null},\"sensitive_attributes\":[]}]}],\"check_results\":null}","passphrase":"public-synthetic-fixture-passphrase-only-2026"}}],"example_request":{"state_json":"{\"version\":4,\"terraform_version\":\"1.12.6\",\"serial\":1,\"lineage\":\"00000000-0000-4000-8000-000000000001\",\"outputs\":{},\"resources\":[{\"mode\":\"managed\",\"type\":\"terraform_data\",\"name\":\"old\",\"provider\":\"provider[\\\"terraform.io/builtin/terraform\\\"]\",\"instances\":[{\"schema_version\":0,\"attributes\":{\"id\":\"00000000-0000-4000-8000-000000000002\",\"input\":{\"value\":\"alpha\",\"type\":\"string\"},\"output\":{\"value\":\"alpha\",\"type\":\"string\"},\"triggers_replace\":null},\"sensitive_attributes\":[]}]}],\"check_results\":null}","passphrase":"public-synthetic-fixture-passphrase-only-2026"},"serviceName":"oss_tofu_encrypted_state_roundtrip","tags":["oss","tofu","p022"],"outputSchema":{"type":"object","properties":{"operation":{"const":"encrypted-state-roundtrip"},"result":{"type":"object","properties":{"encrypted_state":{"type":"object","properties":{"filename":{"const":"encrypted-state.json"},"media_type":{"const":"application/json"},"bytes":{"type":"integer","minimum":1,"maximum":16777216},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"result_reference":{"type":"string","pattern":"^urn:halowerk:job-artifact:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}:encrypted-state[.]json$"}},"required":["filename","media_type","bytes","sha256","result_reference"],"additionalProperties":false},"plaintext_semantic_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"recovered_semantic_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"wrong_key_rejected":{"const":true},"tamper_rejected":{"const":true},"resource_instances":{"type":"integer","minimum":0,"maximum":256},"method":{"const":"OpenTofu AES-GCM with PBKDF2"},"key_returned":{"const":false},"warnings":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024},"minItems":0,"maxItems":32}},"required":["encrypted_state","plaintext_semantic_sha256","recovered_semantic_sha256","wrong_key_rejected","tamper_rejected","resource_instances","method","key_returned","warnings"],"additionalProperties":false},"upstream":{"type":"object","properties":{"project":{"const":"OpenTofu"},"version":{"const":"1.12.6"},"source_commit":{"const":"b4305e5a5dd2fb79a27897ae30784a181d3a26cb"},"binary_sha256":{"const":"64445c0e89fe1066cfd6155c01f3119ffbafd5631d61061e6dc8d759edd37cd0"},"provider_bundle_sha256":{"const":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"},"components":{"const":["encryption","aesgcm","pbkdf2"]},"input_semantic_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["project","version","source_commit","binary_sha256","provider_bundle_sha256","components","input_semantic_sha256"],"additionalProperties":false},"runtime_ms":{"type":"number","minimum":0,"maximum":90000}},"required":["operation","result","upstream","runtime_ms"],"additionalProperties":false}}