Put a Key/Value pair into a NATS Key/Value bucket.

yaml
type: "io.kestra.plugin.nats.kv.Put"
yaml
id: nats_kv_put
namespace: company.team

tasks:
  - id: put
    type: io.kestra.plugin.nats.kv.Put
    url: nats://localhost:4222
    username: nats_user
    password: nats_passwd
    bucketName: my_bucket
    values:
      - key1: value1
      - key2: value2
      - key3:
        - subKey1: some other value
Properties
Min length 1

The name of the key value bucket.

Min length 1

URL to connect to NATS server

The format is (nats://)server_url: port. You can also provide a connection token like so: nats://token@server_url: port

The Key/Value pairs.

Credentials files authentification

Plaintext authentication password

Token authentification

Plaintext authentication username

SubType integer

The revision numbers for each key.