google-cloud-api-keys
Google Cloud Api Keys API client library
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Google Cloud client for API key management. Install it if you need to manage API keys programmatically in a Google Cloud environment. The low install friction, permissive license, and active maintenance make it a straightforward choice. Prerequisite: you must have a Google Cloud project with the API Keys service enabled and valid authentication credentials.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud project setup, billing enabled, API Keys service enabled, and authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable).
- Low friction installation with a pure-Python wheel.
- Actively maintained as of 72 days ago with recent commits.
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 note any modifications.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,402 downloads/mo, #13,086 on PyPI
Alternatives
Verify before relying
pip install google-cloud-api-keys
from google.cloud import apikeys_v2
client = apikeys_v2.ApiKeysClient()
project = "projects/my-project"
keys = client.list_keys(parent=project)- Whether the package supports async/await patterns for API calls.
- Specific rate limits or quotas imposed by the underlying Google Cloud API Keys service.
- Whether key rotation or expiration policies are configurable through this client.
What it is and what it does
This is the official Python client library for Google Cloud's API Keys service. It wraps the underlying gRPC and REST APIs to let you programmatically manage API keys within Google Cloud projects—creating new keys, listing existing ones, updating restrictions, and deleting keys. The library handles authentication, serialization, and error handling so you don't have to build those layers yourself.
Typically used in automation scripts, infrastructure-as-code tools, or applications that need to provision or rotate API credentials at scale. It depends on google-api-core for common patterns, google-auth for credential handling, and protobuf/grpcio for transport. The package is in Beta status and actively maintained, supporting Python 3.10 through 3.14.
Use it for
- Automate API key provisioning in CI/CD pipelines when deploying microservices to Google Cloud.
- Rotate or revoke API keys programmatically as part of a security audit or incident response.
- List and audit all API keys across a project to enforce naming conventions or access policies.
- Manage API key restrictions (HTTP referrers, IP addresses, API quotas) through infrastructure-as-code.
- Build a custom key management dashboard that queries and displays key metadata and usage.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Google Cloud client for API key management. Install it if you need to manage API keys programmatically in a Google Cloud environment. The low install friction, permissive license, and active maintenance make it a straightforward choice. Prerequisite: you must have a Google Cloud project with the API Keys service enabled and valid authentication credentials.
Install
google-cloud-api-keys on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained as of 72 days ago with recent commits. Requires Python 3.10 or later and depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Requires Google Cloud project setup, billing enabled, API Keys service enabled, and authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable).
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 note any modifications.
Quickstart
pip install google-cloud-api-keys
from google.cloud import apikeys_v2
client = apikeys_v2.ApiKeysClient()
project = "projects/my-project"
keys = client.list_keys(parent=project)
Verify before relying
- Whether the package supports async/await patterns for API calls.
- Specific rate limits or quotas imposed by the underlying Google Cloud API Keys service.
- Whether key rotation or expiration policies are configurable through this client.
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 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,402 / month, #13,086 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended 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_api_keys-0.9.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 api keys management”
- google-cloud-api-keysManages API keys for Google Cloud projects, providing a Python client…
- google-cloud-kmsProvides a Python client library for Google Cloud Key Management…
- google-cloud-secret-managerPython client library for Google Cloud Secret Manager, 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-agentidentitycredentials · google-cloud-billing · google-cloud-kms · google-cloud-certificate-manager · google-cloud-resource-manager · google-cloud-workflows · google-apps-meet · google-cloud-notebooks · google-cloud-build · google-cloud-appengine-admin