Skip to the content
Vaubaan Gateway

Plugins / Upstash Redis

Upstash Redis 4.1.1

The Upstash Redis plugin lets a Vaubaan Gateway mission use Upstash Redis without handing the agent a credential. Serverless Redis plane — databases through the Management API, key-value data through each database REST endpoint.

Version 4.1.1 · 10 permissions · 4 macro-actions · 21 tools · 17 gateways run this plugin (over the last 90 days).

1 · The model

How Upstash Redis is modelled

1 plane, 6 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.

1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment no tool touches it

Account

One account is one Upstash account (email and management API key).

Resource

One resource is one Redis database.

Environment

Rule
The environment is the label the owner of the account puts on each resource. A permission tied to an environment is held once per label, and is refused on a resource that has no label or a label the permission does not list.
Known
developmentstagingprod
Carried by
cache.database

Its owner labels each database with an environment; key reads and writes, deletions, FLUSH, arbitrary commands and database management are separate permissions held per label.

2 · Macro-actions

What an agent does at Upstash Redis: 4 macro-actions

A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.

  1. 1

    Peek

    Metadata, stats and values.

    Looking at the mission's databases without changing them: their configuration, usage statistics and the values stored under their keys. Metadata and statistics leak nothing, and the REST tokens are stripped from what the agent sees. Reading values is a permission of its own, because applications often keep sessions or cached credentials in Redis.

    3 permissions

  2. 2

    Write keys

    Set keys.

    Setting and overwriting keys, through the dedicated tools or a plain command. An overwritten value is lost unless it is kept elsewhere, and the application reads the new one at once. This permission alone writes values that stay and nothing else: deleting, expiring or moving a key needs the delete permission too.

    1 permission

  3. 3

    Delete keys

    Delete keys and flush the database.

    Removing data: whole keys, parts of a value, a time to live given to a key, or a move out of its source, plus flushing the whole database. Deleted data is back only from a backup, so these sit apart from writing; a cache write with a time to live needs both. A flush wipes every key at once, which is why it is a permission of its own.

    2 permissions

  4. 4

    Manage databases

    Create, rename, delete, and arbitrary commands.

    Working on the databases themselves: creating, renaming and deleting them, and running any Redis command through execute. Creating one can cost money on a paid plan, a rename breaks whatever still uses the old name, and a deletion drops the store and all its data. An arbitrary command or script can do anything Redis can, deletion and flush included, so it belongs here rather than with writes.

    4 permissions

3 · The map

The map

10 permissions of 4 macro-actions, in the four rows of the tree. For the chosen trust level and environment (upstash-redis[prod].…upstash-redis[staging].…upstash-redis[development].…), each cell gives yes, ask me or no, and the quota a day.

Trust level
Environment

yes runs freelyask me ask me firstno not included

Mild actions run freely; sensitive or costly ones ask first; irreversible ones are left out.Up to sensitive actions run freely; costly and irreversible ones ask first. Limits ×3.Everything but irreversible actions runs freely; those ask first. Limits ×10.

A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.

Upstash Redis permissions by macro-action and row of the tree, with what the chosen trust level does and the quota a day
RiskPeekMetadata, stats and values.Write keysSet keys.Delete keysDelete keys and flush the database.Manage databasesCreate, rename, delete, and arbitrary commands.
Cannot be repaired

Careful: no. Trusting, Autonomous: ask me.

None

None

  • FLUSHDB / FLUSHALL — mass data deletion via the execute tool irreversibleWhy it sits here: FLUSHDB / FLUSHALL wipes all keys in the database. Irreversible without a backup. Only reachable via the generic execute tool (not exposed as a dedicated tool). upstash-redis.flush-database

    noask me · 15 a dayask me · 50 a daynoask me · 15 a dayask me · 50 a daynoask me · 15 a dayask me · 50 a day

  • Delete an entire database (Management API) irreversibleWhy it sits here: Permanently deletes a Redis database and all its data. Irreversible without a backup. Equivalent to dropping a production data store. upstash-redis.delete-database

    noask me · 6 a dayask me · 20 a daynoask me · 6 a dayask me · 20 a daynoask me · 6 a dayask me · 20 a day

Repairable, at a price

Careful, Trusting: ask me. Autonomous: runs freely.

None

None

  • Delete keys, fields, members or entries — now, or by a time to live or a move (DEL, UNLINK, HDEL, LPOP, EXPIRE, SET … EX, RENAME) costly to undoWhy it sits here: Targeted removal of data : whole keys (DEL, UNLINK, GETDEL), parts of a value (HDEL, LPOP, SREM, ZREM, XTRIM…), any time to live given to a key or a field (EXPIRE, PEXPIRE, SETEX, SET with EX or PX, the absolute expiries) — the data is gone when it elapses, and one second is a deletion in all but name —, and the moves (RENAME, LMOVE, SMOVE, RPOPLPUSH), which take a key or an element out of its source. Through the dedicated del, expire and set tools or the generic execute tool. Costly to reverse if the data is not backed up elsewhere. May break application state. A cache write with a time to live therefore needs this permission next to write-data. upstash-redis.delete-data

    ask me · 100 a dayask me · 300 a dayyes · 1,000 a dayask me · 100 a dayask me · 300 a dayyes · 1,000 a dayask me · 100 a dayask me · 300 a dayyes · 1,000 a day

  • Generic execute — scripts, administration and any uncategorized Redis command costly to undoWhy it sits here: The execute tool can run any Redis command. A command that is not a known read, write, deletion or flush falls into this catch-all : scripts and functions (EVAL, FCALL), server administration (CONFIG, ACL), transaction control, and any command the gateway does not know or cannot read. A script can delete or flush the database, so holding this permission allows everything a Redis command can do. upstash-redis.execute-arbitrary

    ask me · 50 a dayask me · 150 a dayyes · 500 a dayask me · 50 a dayask me · 150 a dayyes · 500 a dayask me · 50 a dayask me · 150 a dayyes · 500 a day

  • Rename database (Management API) costly to undoWhy it sits here: Modifies database metadata (currently: rename). Rename can break any downstream reference that uses the old name. Classified as credentials touch because it affects the database identity. upstash-redis.modify-database

    ask me · 5 a dayask me · 15 a dayyes · 50 a dayask me · 5 a dayask me · 15 a dayyes · 50 a dayask me · 5 a dayask me · 15 a dayyes · 50 a day

Worth a look

Careful: ask me. Trusting, Autonomous: runs freely.

None

None

None

  • Create a new database (Management API) whole accountWhy it sits here: Creates a new Redis database in the Upstash account. Reversible (can delete it). May incur costs if the account has a paid plan. Account-rooted : the new database is not a mission resource yet. upstash-redis.create-database

    ask me · 10 a dayyes · 30 a dayyes · 100 a day

Harmless

Runs freely at every level.

  • Read database list / details / stats (Management API reads)Why it sits here: Inventory of databases, their configuration, endpoints, and usage statistics. Surface of attack is negligible : metadata only, no data or credential leaks (execute strips the REST tokens from the Management API answers). This permission is the always-on baseline ; every read of the service needs it. upstash-redis.read-database-metadata

    yes · 2,000 a dayyes · 6,000 a dayyes · 20,000 a day

  • Read Redis data (GET, KEYS, SCAN, HGETALL, LRANGE, SMEMBERS, TTL, DBSIZE)Why it sits here: Read operations on the key-value data stored in a database. May expose application secrets if stored in Redis (session tokens, cached credentials). Standard posture for a coding agent in debug mode. upstash-redis.read-data

    yes · 5,000 a dayyes · 15,000 a dayyes · 50,000 a day

  • Read usage statisticsWhy it sits here: Read-only access to database usage statistics (commands processed, memory usage, throughput). No data or credential exposure. upstash-redis.read-stats

    yes · 500 a dayyes · 1,500 a dayyes · 5,000 a day

  • Write Redis data (SET, HSET, LPUSH, SADD — without a time to live)Why it sits here: Create, overwrite or modify individual keys, through the dedicated tools or the generic execute tool. An overwrite replaces the previous value, which is lost unless it is kept elsewhere ; a RENAME replaces the destination key. Affects application state if the app reads from Redis at runtime. The deletion commands (DEL, UNLINK, the POP and REM families), every command that sets a time to live (EXPIRE, SETEX, SET … EX) or moves data out of a key (RENAME, LMOVE, SMOVE), FLUSH and arbitrary commands need it next to their own, more severe permission, so a mission holding write-data alone cannot run them : it can write and overwrite values that stay, nothing else. upstash-redis.write-data

    yes · 500 a dayyes · 1,500 a dayyes · 5,000 a dayyes · 500 a dayyes · 1,500 a dayyes · 5,000 a dayyes · 500 a dayyes · 1,500 a dayyes · 5,000 a day

None

None

Careful on prod: runs freely 4, ask me first 4, not included 2. Careful on staging: runs freely 4, ask me first 4, not included 2. Careful on development: runs freely 4, ask me first 4, not included 2. Trusting on prod: runs freely 5, ask me first 5. Trusting on staging: runs freely 5, ask me first 5. Trusting on development: runs freely 5, ask me first 5. Autonomous on prod: runs freely 8, ask me first 2. Autonomous on staging: runs freely 8, ask me first 2. Autonomous on development: runs freely 8, ask me first 2. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.

Held once, whatever the database: Read database list / details / stats (Management API reads); Read Redis data (GET, KEYS, SCAN, HGETALL, LRANGE, SMEMBERS, TTL, DBSIZE); Read usage statistics; Create a new database (Management API). Every other permission is held once per environment.

4 · A few calls

A few calls, classified by the plugin

34 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 34 calls, as code.

The callThe plugin seesThe catalog answersA Careful mission
upstash_redis__list_databases {}
  • upstash-redis.account.database[*].R
  • Read database list / details / stats (Management API reads) upstash-redis.read-database-metadata
yes
upstash_redis__execute {"databaseId":"db-abc-123","command":["SET","k","v"]}
  • upstash-redis.database[db-abc-123].key-space[*].W
  • Write Redis data (SET, HSET, LPUSH, SADD — without a time to live) upstash-redis.write-data
yes
upstash_redis__create_database {"name":"new-cache","region":"eu-west-1"}
  • upstash-redis.account.database.W
  • Create a new database (Management API) upstash-redis.create-database
ask me
upstash_redis__delete_database {"databaseId":"db-abc-123"}
  • upstash-redis.account.database[db-abc-123].delete.W
  • Delete an entire database (Management API) upstash-redis.delete-database
no

5 · Anything else

Anything else

A call no permission covers touches upstash-redis.uncategorized-write instead of slipping through. No macro-action holds it; a person ticks it knowingly.

PermissionRiskCareful ×1Trusting ×3Autonomous ×10
Uncategorized Upstash Redis writeWhy it sits here: Catch-all for writes that have not been explicitly categorised. If observed in production, signals that a tool was added without a matching catalog entry — the mission creator must opt in explicitly (no implicit accept). In no macro-action. upstash-redis.uncategorized-writeRepairable, at a price costly to undoask me · 50 a dayask me · 150 a dayyes · 500 a day

6 · Tools

Tools

21 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.

21 tools · scroll the list

ToolWhat it doesUsually touches
upstash_redis__list_databasesList databasesupstash-redis.read-database-metadata
upstash_redis__get_databaseRead a databaseupstash-redis.read-database-metadata
upstash_redis__create_databaseCreate a databaseupstash-redis.create-database
upstash_redis__delete_databaseDelete a databaseupstash-redis.delete-database
upstash_redis__rename_databaseRename a databaseupstash-redis.modify-database
upstash_redis__get_database_statsRead the usage of a databaseupstash-redis.read-database-metadata, upstash-redis.read-stats
upstash_redis__executeRun a Redis commandupstash-redis.read-database-metadata, upstash-redis.read-data, upstash-redis.write-data, upstash-redis.delete-data, upstash-redis.flush-database, upstash-redis.execute-arbitrary
upstash_redis__getRead a keyupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__setSet a keyupstash-redis.write-data, upstash-redis.delete-data
upstash_redis__delDelete keysupstash-redis.write-data, upstash-redis.delete-data
upstash_redis__keysFind keys by patternupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__scanScan the keysupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__ttlRead the time to live of a keyupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__expireSet the expiry of a keyupstash-redis.write-data, upstash-redis.delete-data
upstash_redis__hsetSet fields of a hashupstash-redis.write-data
upstash_redis__hgetallRead a hashupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__lpushPrepend values to a listupstash-redis.write-data
upstash_redis__lrangeRead a range of a listupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__saddAdd members to a setupstash-redis.write-data
upstash_redis__smembersRead the members of a setupstash-redis.read-database-metadata, upstash-redis.read-data
upstash_redis__dbsizeCount the keys of a databaseupstash-redis.read-database-metadata, upstash-redis.read-data

7 · Connecting an account

Connecting an account

1 of 3 · a key you create and paste Developer API key

A Developer API key the person creates at Upstash Redis and pastes once; nobody declares anything beforehand.

Permission

Read/Write, on the account that owns the databases. This gateway gives a mission only the databases and commands it names; a Read Only key cannot run the write tools, and changing that means a new key.

  1. Sign in to the Upstash console with a native Upstash account: an account made through Vercel or Fly has no Developer API.
  2. AccountDeveloper APICreate API KeyOpen the page and start a new API key. (open)
  3. Name the key, choose the Read/Write permission and an expiration, then Submit.
  4. Copy the key and paste it here with the account email. Upstash shows it once.
Permission at Upstash RedisAccess
Read/Writeread-write
Where
https://console.upstash.com/account/api
Expiry
About 90 days, chosen at the service; the service does not tell the gateway the date.
The connect page asks
Account email and Developer API key (secret)
The service's documentation
https://upstash.com/docs/devops/developer-api/introduction
Disconnecting
Delete the management API key in the Upstash console, under Account, Management API.

8 · Health

Health

17 gateways run this plugin (over the last 90 days).

VersionGatewaysCallsSuccessValidated
4.0.07no call yet—
3.2.15no call yet—
3.2.05no call yet—

A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.

Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.

Last changed 2026-12-02. This page as Markdown: /plugins/upstash-redis.md