v1

latestSwagger 2.02026-07-1712167168.8 KB

Create a new key value pair or update an existing one.

put/api/v1/keys/{name}

Path parameters

namestring required

Key Name.

Request body

namestring required

Key Name.

valuestring required

Key's value.

secretboolean

Encrypt value before saving the value.

encryptedboolean

Value provided is already encrypted with this instances crypto key and should be stored as-is. This is useful when migrating / loading keys from one StackStorm instance to another.

scopestring

Scope the item is under. Example: 'user'.

ttlinteger

TTL (in seconds) for this value.

userstring nullable

User for user scoped items (admin only).

Response

Key set/updated.