redisctl
A unified command-line interface for managing Redis Cloud and Redis Enterprise deployments through their REST APIs.
Features
- Unified Interface - Single CLI for both Redis Cloud and Redis Enterprise
- Async Operations - Full support for long-running operations with
--wait
flags - Explicit Commands - Clear separation between Cloud and Enterprise operations
- Multiple Output Formats - JSON, YAML, and Table output with JMESPath filtering
- Profile Management - Secure credential storage with environment variable support
Installation
From Binary Releases
Download the latest release for your platform from the releases page.
From Cargo
Using Docker
Quick Start
1. Configure Authentication
# Redis Cloud
# Redis Enterprise
Or use profiles for multiple environments:
# Create a profile
# Use the profile
Profiles are stored in:
- Linux/macOS:
~/.config/redisctl/config.toml
- Windows:
%APPDATA%\redis\redisctl\config.toml
Example configuration file:
= "cloud-prod"
[]
= "cloud"
= "${REDIS_CLOUD_API_KEY}"
= "${REDIS_CLOUD_API_SECRET}"
[]
= "enterprise"
= "https://localhost:9443"
= "admin@redis.local"
= "${REDIS_ENTERPRISE_PASSWORD}"
= true
2. Verify Setup & First Commands
# Test your connection
# View your configuration
# Common first commands
# Get detailed output
|
# Create resources and wait for completion
Using with Docker
# Run commands directly with Docker
# Use local config file
# Development environment with test cluster
See the Docker documentation for advanced usage.
Documentation
For comprehensive documentation including:
- Detailed configuration options
- Complete command reference
- Async operation handling
- Output formatting and filtering
- Troubleshooting guides
Visit the full documentation.
Development
Building from Source
Running Tests
Contributing
Contributions are welcome! Please see the contributing guidelines in the documentation.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.