google-cloud-os-login
Google Cloud Os Login API client library
Decision gist · record as of 2026-08-14
Yes. This is Google's official, actively maintained client library for a core Google Cloud service. It has low install friction, no known vulnerabilities, permissive licensing, and is in production/stable status. Install it if you need to programmatically manage OS Login access to Google Cloud VMs; skip it if you manage OS Login only through the console or gcloud CLI.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 and valid Google Cloud authentication credentials (service account key or application default credentials).
- Low install friction with a pure-Python wheel distribution.
- Actively maintained as of 2026-06-22 with recent activity; supports current Python versions (3.10 through 3.14).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state material changes, but no reciprocal licensing obligations apply.
last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 5,371 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,422,938 downloads/mo, #428 on PyPI
Alternatives
Verify before relying
pip install google-cloud-os-login
from google.cloud import oslogin_v1
client = oslogin_v1.OsLoginServiceClient()
# Use client methods to manage OS Login resources- Specific API methods and resource types available in version 2.22.0 beyond the generic client interface.
- Whether the library supports both gRPC and REST transports or gRPC only.
- Performance characteristics and rate limits when managing large numbers of VM instances.
What it is and what it does
This is Google's official Python client library for Cloud OS Login, a Google Cloud service that manages SSH access to Compute Engine VMs through IAM roles rather than managing SSH keys directly on each instance. The library wraps the Cloud OS Login API, allowing you to programmatically create and manage OS Login resources, configure SSH public keys, and control user access to VM instances from Python code.
The package depends on standard Google Cloud infrastructure libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf) and is designed to integrate with Google Cloud authentication flows. It requires Python 3.10 or later and expects you to have already set up a Google Cloud project with OS Login enabled and appropriate IAM credentials configured. The library is actively maintained and supports all current Python versions.
Use it for
- Automate SSH key management for VM instances by programmatically adding or removing OS Login SSH public keys across your infrastructure.
- Build access control workflows that grant or revoke VM login permissions based on IAM roles without manual SSH key distribution.
- Integrate OS Login user provisioning into your identity management system to sync user access across Google Cloud VMs.
- Query and audit which users have OS Login access to specific VM instances as part of security compliance checks.
- Manage OS Login configuration for multi-tenant environments where different teams need isolated VM access controls.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is Google's official, actively maintained client library for a core Google Cloud service. It has low install friction, no known vulnerabilities, permissive licensing, and is in production/stable status. Install it if you need to programmatically manage OS Login access to Google Cloud VMs; skip it if you manage OS Login only through the console or gcloud CLI.
Install
google-cloud-os-login on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-06-22 with recent activity; supports current Python versions (3.10 through 3.14). Standard Google Cloud library dependency chain (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Requires Python >= 3.10 and valid Google Cloud authentication credentials (service account key or application default credentials).
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state material changes, but no reciprocal licensing obligations apply.
Quickstart
pip install google-cloud-os-login
from google.cloud import oslogin_v1
client = oslogin_v1.OsLoginServiceClient()
# Use client methods to manage OS Login resources
Verify before relying
- Specific API methods and resource types available in version 2.22.0 beyond the generic client interface.
- Whether the library supports both gRPC and REST transports or gRPC only.
- Performance characteristics and rate limits when managing large numbers of VM instances.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobuf |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,422,938 / month, #428 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_os_login-2.22.0-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 › “google cloud os login python client”
- google-cloud-os-loginPython client library for Google Cloud OS Login, enabling…
- google-cloud-os-configPython client library for Google Cloud OS Config, enabling…
- google-cloud-recaptcha-enterprisePython client library for Google Cloud reCAPTCHA Enterprise, enabling…
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-compute · google-cloud-os-config · google-cloud-iam · grpc-google-iam-v1 · cudo-compute · google-compute-engine · google-cloud-billing · google-cloud-functions · secops · google-cloud-iamconnectorcredentials