azure-mgmt-redis
Microsoft Azure Redis Cache Management Client Library for Python
What it is and what it does
This package is the official Microsoft Azure SDK client library for managing Redis Cache resources in Python. It provides programmatic access to create, configure, update, and delete Azure Redis instances, as well as manage linked servers, firewall rules, access policies, and cache operations like flush and export/import. The library handles authentication via Azure Active Directory and abstracts the underlying REST API calls.
Typical use cases include infrastructure-as-code workflows, automated Redis provisioning in CI/CD pipelines, and operational management of Redis deployments at scale. The package depends on isodate, typing-extensions, azure-common, and azure-mgmt-core, and requires Python 3.8 or later. It is actively maintained by Microsoft and supports current Python versions through 3.12.
Use it for:
- Provision and tear down Redis Cache instances programmatically as part of infrastructure automation.
- Configure Redis properties like zonal allocation, access key authentication, and update channels via API.
- Manage linked Redis servers and geo-replication across Azure regions in multi-region deployments.
- Export and import Redis data with configurable storage subscriptions and authentication methods.
- Enforce access policies and firewall rules on Redis instances in secure network environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to manage Azure Redis Cache resources—create, update, delete, and configure Redis instances through the Azure management API.
Yes. This is the official Azure Redis management client maintained by Microsoft with active development, low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if you need to manage Azure Redis resources programmatically; it is the standard tool for that task.
Install
azure-mgmt-redis on PyPI
pip
pip install azure-mgmt-redisuv
uv add azure-mgmt-redispoetry
poetry add azure-mgmt-redisInstalling azure-mgmt-redis
Before you install
Low friction install with four straightforward runtime dependencies. Actively maintained with recent releases; last commit 2026-08-14 and version 14.5.0 released 2025-01-20. Supports Python 3.8 through 3.12.
License in practice
MIT License (permissive) allows commercial and private use with minimal restrictions.
Quickstart
pip install azure-mgmt-redis
from azure.mgmt.redis import RedisManagementClient
from azure.common import credentials
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RedisManagementClient(credential=credentials, subscription_id=sub_id)
Requires Azure subscription and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for authentication.
Verify before relying
- Whether zonal_allocation_policy (added in 14.5.0) is production-ready or still experimental.
- Performance characteristics and rate limits for large-scale Redis resource management operations.
- Compatibility with specific Azure sovereign clouds or restricted environments.
- Specific credential flow and authentication patterns beyond environment variable configuration.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — isodate, typing-extensions, azure-common, azure-mgmt-core |
| Maintenance | actively maintained — 571 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,468,352/month — #1,620 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_redis-14.5.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
azure-mgmt-redisenterpriseManages Azure Redis Enterprise clusters and…
unclear · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-dnsManages Azure DNS resources—zones, record sets,…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
redis-entraidProvides Entra ID (Azure Active Directory)…
unclear · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI