Skip to content

Redis Management

Browse and manage Redis instances across your environments. Inspect keys, view hash fields, manage TTL values, and flush databases.

Access

Navigate to Redis in the sidebar or go to /redis.

Key Features

  • Browse all keys in a Redis database with type indicators
  • Inspect values for strings, hashes, lists, sets, and sorted sets
  • View and edit hash fields inline
  • Set or modify TTL on any key
  • Delete individual keys
  • Flush an entire database

Configuration

Each environment can have its own Redis connection. Configure Redis in Settings > Environments:

PropertyDescriptionDefault
hostRedis server hostname or IP
portRedis port6379
passwordAuthentication password
databaseDatabase index0
timeoutConnection timeout30s

INFO

Redis configuration is per-environment. If an environment has no Redis config, the Redis tab will not appear for that environment.

Usage

Browsing Keys

  1. Select an environment from the tabs
  2. The key list loads with type badges (string, hash, list, set, zset)
  3. Use the search bar to filter keys by pattern (supports glob patterns like session:*)
  4. Click any key to inspect its value

Managing TTL

Select a key and click the TTL badge to:

  • View the remaining time-to-live
  • Set a new TTL value in seconds
  • Remove the TTL (make the key persistent)

Hash Fields

For hash-type keys, the detail view shows all field-value pairs in a table. You can edit individual field values inline or delete specific fields.

Flushing a Database

Click Flush DB to remove all keys in the selected database.

WARNING

Flushing a database is irreversible. All keys in the selected database will be permanently deleted.

API

GET    /api/redis/{env}/keys         # List keys (with optional pattern)
GET    /api/redis/{env}/key/{key}    # Get key value and metadata
DELETE /api/redis/{env}/key/{key}    # Delete a key
PUT    /api/redis/{env}/key/{key}/ttl  # Set TTL
POST   /api/redis/{env}/flush        # Flush database

Managed by RedisManagementController.

Released under the MIT License.