
Core Plugins and tasks Put
CertifiedUpdate an existing Key-Value entry
Core Plugins and tasks Put
Update an existing Key-Value entry
Renders key, value, and namespace (defaults to the Flow namespace), then writes to the namespace KV store.
Map values are deep merged (nested object keys are preserved); keyed entries like [{key: ..., value: ...}] update JSON fields (dotted paths allowed) while [{value: ...}] replaces the entire value. Set errorOnMissing to true to fail when the key is absent, otherwise a new key-value pair is created.
type: io.kestra.plugin.core.kv.PutExamples
Replace a string value
id: kv_put_string
namespace: company.team
tasks:
- id: update_my_string
type: io.kestra.plugin.core.kv.Put
key: my-string-key
value: "new-value"
Insert or update JSON keys
id: kv_put_json
namespace: company.team
tasks:
- id: update_my_json
type: io.kestra.plugin.core.kv.Put
key: my-json-key
value:
- key: "json-key-1"
value: "my new value"
- key: "nested.field"
value: 123
Properties
key *Requiredstring
Key to update
Key name within the target namespace
value *Requiredobject
Value payload to write
Maps are deep merged and entry lists can replace or patch JSON fields
errorOnMissing booleanstring
falseFail when key is absent
Default false; when true throws before writing if the key does not exist
namespace string
{{ flow.namespace }}Target namespace
Defaults to the current Flow namespace; accepts expressions
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.