azure-mgmt-redhatopenshift
Microsoft Azure Redhatopenshift Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure management library for Red Hat OpenShift, part of the broader Azure SDK for Python. It exposes the Azure Resource Manager API for provisioning, updating, and managing OpenShift clusters on Azure infrastructure. The package provides typed Python models and client methods to interact with cluster configurations, worker profiles, networking, identity, and platform workload identity settings.
The library depends on azure-mgmt-core for common Azure SDK patterns, isodate for date handling, and typing-extensions for runtime type hints. It requires Python 3.10 or later and uses Microsoft Entra token-based authentication. Version 4.0.0 introduced breaking changes that restructured model properties into nested `properties` objects, following a hybrid model pattern documented in the Azure SDK migration guide.
Use it for:
- Automate provisioning and teardown of OpenShift clusters on Azure as part of infrastructure-as-code workflows.
- Manage cluster configurations, network profiles, and worker node pools programmatically from Python applications.
- Integrate OpenShift cluster lifecycle operations into CI/CD pipelines or cloud orchestration platforms.
- Query and monitor OpenShift cluster status, provisioning state, and platform workload identity settings.
- Build internal tools or dashboards that need to read or modify Red Hat OpenShift deployments across Azure subscriptions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to manage Red Hat OpenShift clusters running on Microsoft Azure, including cluster provisioning, configuration, and lifecycle operations.
Yes, if you need to manage Red Hat OpenShift clusters on Azure from Python. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and is part of the official Azure SDK. Version 4.0.0 introduces breaking changes to model structure, so review the migration guide if upgrading from earlier versions. Install friction is low and dependencies are minimal.
Install
azure-mgmt-redhatopenshift on PyPI
pip
pip install azure-mgmt-redhatopenshiftuv
uv add azure-mgmt-redhatopenshiftpoetry
poetry add azure-mgmt-redhatopenshiftInstalling azure-mgmt-redhatopenshift
Before you install
Low friction install with a pure-Python wheel. Actively maintained, part of the official Azure SDK ecosystem. Requires Python 3.10 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions—standard permissive terms for Azure SDK packages.
Quickstart
pip install azure-mgmt-redhatopenshift
from azure.mgmt.redhatopenshift import AzureRedHatOpenShiftClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AzureRedHatOpenShiftClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.10+. Azure authentication credentials (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be set as environment variables.
Verify before relying
- Whether version 4.0.0's breaking changes to model structure (moving properties under a `properties` field) require code migration for existing users.
- Performance characteristics and rate limits when managing large numbers of clusters or frequent API calls.
- Whether azure-identity is required as a runtime dependency or only recommended for authentication.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,301,872/month — #2,121 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_redhatopenshift-4.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-servicefabricmanagedclustersManages Azure Service Fabric Managed Clusters…
unclear · top 5,000 on PyPI
azure-mgmt-eventhubManages Azure Event Hub resources—namespaces,…
permissive · top 5,000 on PyPI
openshift-clientProvides a Python API for interacting with…
permissive · top 15,000 on PyPI
azure-mgmt-redisenterpriseManages Azure Redis Enterprise clusters and…
unclear · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-hybridcomputeManages hybrid compute resources in Microsoft…
permissive · top 15,000 on PyPI
azure-mgmt-computeProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI