--- title: Set Key/Value sidebar: label: Set order: 2 --- import SchemaInfo from '../../../../components/SchemaInfo.astro'; The `kv.set` processor sets the value of the configured key to the incoming payload using a module that implements the `KeyValueModule` interface. The payload is unchanged so whatever is received by this processor is output unless any errors are encountered. ### Example This will attempt to set the key `hello` using the module with an id of `redis` ```yaml - type: kv.set params: module: redis key: hello ```