skillfed

google-cloud-iam

Google Cloud Iam API client library

google-cloud-iam v2.24.1 11.9M downloads/30d#1,354 on PyPI5,373
Permissive license Apache-2.0 Active released

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

Provides a Python client library for Google Cloud Identity and Access Management (IAM), enabling programmatic management of service accounts, roles, and access control policies for Google Cloud resources.

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

pip

pip install google-cloud-iam

uv

uv add google-cloud-iam

poetry

poetry add google-cloud-iam

Installing google-cloud-iam

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.

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})

Requires Python >= 3.10; Google Cloud project setup and authentication credentials (via google-auth) must be configured before making API calls.

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 — google-api-core, google-auth, grpc-google-iam-v1, grpcio, proto-plus, protobuf
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)

Evidence: google_cloud_iam-2.24.1-py3-none-any.whl

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

Tags

google cloud iam clientservice account management pythongoogle cloud access controliam roles and permissions apigoogle cloud authentication service accountsidentity access management google cloudpython iam api client
google-cloudiam-access-controlservice-accounts

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

google-cloud-iamconnectorcredentials

Provides a Python client library for Google…

permissive · top 15,000 on PyPI

google-cloud-privilegedaccessmanager

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

grpc-google-iam-v1

Provides gRPC-based Python client bindings for…

permissive · top 1,000 on PyPI

secops

A Python SDK for interacting with Google…

permissive · top 15,000 on PyPI

google-cloud-os-login

Python client library for Google Cloud OS…

permissive · top 1,000 on PyPI

agilicus

Agilicus SDK provides Python bindings and a CLI…

permissive · top 15,000 on PyPI

google-cloud-agentidentitycredentials

Provides a Python client library to interact…

permissive · top 15,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI

google-cloud-access-context-manager

Python client library for Google Cloud Access…

permissive · top 5,000 on PyPI

ibm-platform-services

Python client library for IBM Cloud Platform…

permissive · top 5,000 on PyPI