google-cloud-iam
Google Cloud Iam API client library
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Python client for Google Cloud IAM with low install friction, no known vulnerabilities, and a permissive license. Install it if you need to manage IAM resources programmatically in Google Cloud—it's the standard choice for this task.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10; Google Cloud project setup and authentication credentials (via google-auth) must be configured before making API calls.
- Low install friction with a pure-wheel distribution.
- Actively maintained as of 8 days ago with recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most projects.
last release 2026-08-06 (8 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,890,115 downloads/mo, #1,354 on PyPI
Alternatives
Verify before relying
pip install google-cloud-iam
from google.cloud import iam_v1
client = iam_v1.IAMClient()
resource = "projects/PROJECT_ID"
policy = client.get_iam_policy(request={"resource": resource})- Specific IAM operations supported (e.g., service account creation, role binding, policy updates) beyond the generic client interface.
- Performance characteristics and rate limits for bulk IAM operations.
- Integration patterns with other Google Cloud client libraries in the same ecosystem.
What it is and what it does
This package is the official Python client for Google Cloud IAM, a managed service that controls who (identity) has what access (roles) to which resources in Google Cloud. It wraps the IAM API behind a Pythonic interface, letting you create and manage service accounts, assign roles to principals, and query access policies programmatically rather than through the console.
The library is built on top of google-api-core and google-auth, which handle the gRPC transport and credential management. It's part of the broader google-cloud-python ecosystem and is actively maintained by Google. The package supports current Python versions (3.10 and later) and carries no known security vulnerabilities.
Use it for
- Automate service account creation and lifecycle management in CI/CD pipelines or infrastructure-as-code workflows.
- Programmatically grant and revoke IAM roles for users, groups, or service accounts across multiple projects.
- Query and audit access policies to verify who has permissions to specific resources.
- Integrate IAM operations into custom tooling or multi-cloud orchestration platforms.
- Manage authentication credentials for applications running on Google Cloud by creating and rotating service account keys.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Python client for Google Cloud IAM with low install friction, no known vulnerabilities, and a permissive license. Install it if you need to manage IAM resources programmatically in Google Cloud—it's the standard choice for this task.
Install
google-cloud-iam on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as of 8 days ago with recent commits. Requires 6 runtime dependencies including google-api-core, google-auth, grpcio, and protobuf—all standard Google Cloud client library components.
Requires Python >= 3.10; Google Cloud project setup and authentication credentials (via google-auth) must be configured before making API calls.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most projects.
Quickstart
pip install google-cloud-iam
from google.cloud import iam_v1
client = iam_v1.IAMClient()
resource = "projects/PROJECT_ID"
policy = client.get_iam_policy(request={"resource": resource})
Verify before relying
- Specific IAM operations supported (e.g., service account creation, role binding, policy updates) beyond the generic client interface.
- Performance characteristics and rate limits for bulk IAM operations.
- Integration patterns with other Google Cloud client libraries in the same ecosystem.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgrpc-google-iam-v1grpcioproto-plusprotobuf |
| Maintenance | Actively maintained 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,890,115 / month, #1,354 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_iam-2.24.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “iam roles and permissions api”
- google-cloud-iamProvides a Python client library for Google Cloud Identity and Access…
- aws-cdk.aws-iamProvides Python constructs for defining AWS IAM roles, policies,…
- alibabacloud-ram20150501Provides Python bindings to Alibaba Cloud's Resource Access…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-iamconnectorcredentials · google-cloud-privilegedaccessmanager · grpc-google-iam-v1 · secops · google-cloud-os-login · agilicus · google-cloud-agentidentitycredentials · google-cloud-billing · google-cloud-access-context-manager · ibm-platform-services