Zum Inhalt
HALOWERK

Agentenwerk

oss tofu encrypted state roundtrip

Takes an OpenTofu state snapshot and a passphrase, encrypts the snapshot through the pinned OpenTofu state-encryption code, then proves the result three ways: the authorized key recovers the state with an identical semantic hash, a wrong key is rejected, and a tampered payload is rejected. What comes back is the encrypted artifact plus those proofs and the resource-instance count, never the plaintext.

POST https://agent.halowerk.com/v1/oss-tofu-encrypted-state-roundtrip

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
state_jsonstringJa
passphrasestringJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "state_json": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2097152
    },
    "passphrase": {
      "type": "string",
      "minLength": 32,
      "maxLength": 1024
    }
  },
  "required": [
    "state_json",
    "passphrase"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

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

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →