Python client for the Aruba Central network monitoring API.
Uses MSP token exchange (RFC 8693) so a single set of MSP credentials can access all tenant workspaces; no per-tenant API keys needed. Returns typed pydantic models with a CentralResponse wrapper that keeps both the raw payload and a lazily-parsed model.
pip install aruba-clientexport ARUBA_MSP_CLIENT_ID=...
export ARUBA_MSP_CLIENT_SECRET=...
export ARUBA_MSP_WORKSPACE_ID=...
export ARUBA_GREENLAKE_OAUTH_URL=https://sso.common.cloud.hpe.com/as/token.oauth2from aruba_client import get_central_client, get_new_central_sites, get_new_central_aps
conn = get_central_client("My Tenant")
registry = get_new_central_sites(conn).parsed()
site = registry.find_by_name("My Site")
aps = get_new_central_aps(conn, site=site.id).parsed()See the documentation for full API reference.