--- id: google-cloud-access-context-manager version: "0.6.1" license: Apache 2.0 license_treatment: permissive maintenance: active --- # google-cloud-access-context-manager — Google Cloud Access Context Manager Protobufs License: permissive · Maintenance: active · Downloads: 1.2M/mo ## What it is and what it does This is Google's official Python client for Access Context Manager, a GCP service that enforces attribute-based access control on requests to Google Cloud resources. It wraps the underlying API in a Python-friendly interface, handling authentication, serialization, and RPC communication through its dependencies on google-api-core and protobuf. The library is used to programmatically define, query, and manage access policies based on device attributes, user identity, and network context. It's part of Google's broader identity and access management ecosystem and is maintained as part of the google-cloud-python monorepo. The package is actively developed, supports current Python versions (3.10 through 3.14), and carries no known security vulnerabilities. Use it for: - Define and enforce attribute-based access policies for GCP resources in a Python application. - Query existing access policies and their enforcement status programmatically. - Integrate access control logic into custom GCP management or compliance tools. - Automate policy updates based on device posture, user identity, or network conditions. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for Google Cloud Access Context Manager, enabling attribute-based access control policies for GCP services through a managed API. Yes, if you need to manage GCP Access Context Manager policies from Python code. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It requires Python 3.10+ and valid GCP credentials, but those are reasonable prerequisites for a GCP-specific client library. ## Install pip install google-cloud-access-context-manager uv add google-cloud-access-context-manager poetry add google-cloud-access-context-manager ## Installing google-cloud-access-context-manager Before you install: Low install friction with only two runtime dependencies (google-api-core and protobuf). Actively maintained with a recent release; repository is not archived and receives regular commits. License in practice: Licensed under Apache 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions. Quickstart: pip install google-cloud-access-context-manager from google.cloud import access_context_manager_v1 client = access_context_manager_v1.AccessContextManagerClient() Requires Python >= 3.10; GCP project with Access Context Manager enabled and valid authentication credentials configured. Verify before relying: - Whether this library is suitable for read-only access policy queries versus policy creation and management. - Performance characteristics and rate limits when querying large numbers of access policies. - Whether additional setup beyond GCP authentication is needed for policy enforcement. ## Package facts - License: Apache 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud access control, attribute based access control gcp, access context manager python, gcp identity and access management, cloud access policies, gcp-client, access-control, identity-management [View on SkillFed](https://skillfed.io/packages/google-cloud-access-context-manager) · [View on PyPI](https://pypi.org/project/google-cloud-access-context-manager/)