data
Redis Cloud CLI for Headless Automation
Use the Redis Cloud CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API key auth
Redis Cloud CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Redis Cloud CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Redis Cloud CLI for Headless Automation
kosmokrator integrations:configure redis-cloud --set api_key="$REDIS_CLOUD_API_KEY" --set secret_key="$REDIS_CLOUD_SECRET_KEY" --enable --read allow --write ask --json
kosmo integrations:call redis-cloud.redis_cloud_get_current_account '{}' --json Discovery Before Execution
Agents and scripts can inspect Redis Cloud docs and schemas before choosing a function.
kosmo integrations:docs redis-cloud --json
kosmo integrations:docs redis-cloud.redis_cloud_get_current_account --json
kosmo integrations:schema redis-cloud.redis_cloud_get_current_account --json
kosmo integrations:search "Redis Cloud" --json
kosmo integrations:list --json Useful Redis Cloud CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
redis-cloud.redis_cloud_get_current_account | Read | none | Get the current Redis Cloud account information, including owner email, payment method, and plan details. |
redis-cloud.redis_cloud_list_subscriptions | Read | none | List all subscriptions in the Redis Cloud account. Returns subscription IDs, names, regions, statuses, and database counts. |
redis-cloud.redis_cloud_get_subscription | Read | subscription_id | Get details for a specific Redis Cloud subscription by ID, including plan, region, memory, throughput, and database list. |
redis-cloud.redis_cloud_list_databases | Read | subscription_id | List all databases within a Redis Cloud subscription. Returns database IDs, names, endpoints, and statuses. |
redis-cloud.redis_cloud_get_database | Read | subscription_id, database_id | Get details for a specific Redis Cloud database by subscription and database ID, including endpoint, memory usage, throughput, and replication status. |
redis-cloud.redis_cloud_list_teams | Read | none | List all teams (ACL roles) in the Redis Cloud account. Returns team IDs, names, and member counts. |
redis-cloud.redis_cloud_get_team | Read | team_id | Get details for a specific Redis Cloud team (ACL role) by ID, including roles, permissions, and assigned databases. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.