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:
| Property | Description | Default |
|---|---|---|
host | Redis server hostname or IP | — |
port | Redis port | 6379 |
password | Authentication password | — |
database | Database index | 0 |
timeout | Connection timeout | 30s |
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
- Select an environment from the tabs
- The key list loads with type badges (string, hash, list, set, zset)
- Use the search bar to filter keys by pattern (supports glob patterns like
session:*) - 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 databaseManaged by RedisManagementController.