Skip to content
Proud to collaborate with Microsoft for Startups

kv.key.set ​

Write one Orkestia KV key as a new version via LTIP (value redacted)

Write one Orkestia KV key's value as a new version through the LTIP SecretContract/KVEntryContract for the bound provider.

Inputs:

  • connection_uuid: Bound provider CloudConnection (required)
  • app: App slug — KV scope (required)
  • environment: Environment scope, e.g. production (required)
  • namespace: Namespace (optional, defaults to app)
  • key: Logical key, e.g. DATABASE_URL (required)
  • tier: plain | secret (required)
  • value: Seed value — sensitive; never persisted or logged (required)
  • ttl_seconds: Optional TTL

Outputs (reference only — no value):

  • provider_resource_id, version_id, key, tier, namespace, provider, created_at

Redaction: value is dropped from state_data at write time and never spread into the output. The {**data} spread is forbidden here. Plugin required: context.get_plugin("<connection provider>")

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kv
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—Bound provider CloudConnection.
appstringYes—App slug (KV scope).
environmentstringYes—Environment scope (dev
namespacestringNo—Namespace (defaults to app).
keystringYes—Logical key, e.g. DATABASE_URL.
tierstringYes—plain
valuestringYes—Seed value; never persisted or logged.
ttl_secondsintegerNo—Optional TTL in seconds.

Output Schema ​

FieldTypeRequiredDefaultDescription
keystringNo——
tierstringNo——
appstringNo——
environmentstringNo——
namespacestringNo——
providerstringNo——
organization_uuidstringNo——
provider_resource_idstringNo—ARN/parameter path/secret name (reference, no value).
version_idstringNo——
created_atstringNo——
existedbooleanNo——
connection_uuiduuidNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "kv.key.set",
  "initial_data": {
    "connection_uuid": "value",
    "app": "value",
    "environment": "value",
    "key": "value"
  }
}