$npx skillfedfor your agent

google-cloud-kms

Google Cloud Kms API client library

Worth itPyPI InternetReleased Jul 2026150.6M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_cloud_kms-3.16.0-py3-none-any.whl
v3.16.0 · released 2026-07-16 · Python >=3.10 · 6 runtime deps: google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1

Yes. This is the official, actively maintained client for Google Cloud KMS with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if your application needs to use Google Cloud's managed key service for encryption, key management, or compliance-driven key lifecycle operations. Requires GCP project setup and credentials configuration upfront.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Google Cloud authentication setup (service account credentials or Application Default Credentials) and an active GCP project with Cloud KMS enabled.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained as of 29 days ago with recent commits.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 5,371 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,610,135 downloads/mo, #267 on PyPI

Verify before relying

pip install google-cloud-kms

from google.cloud import kms_v1

client = kms_v1.KeyManagementServiceClient()
# Use client to call KMS methods (e.g., encrypt, decrypt, create_key)
  • Specific KMS operations supported (encrypt, decrypt, key rotation, etc.) beyond the general API client wrapper.
  • Whether the library handles automatic credential discovery or requires explicit credential configuration.
  • Performance characteristics and rate-limiting behavior for high-volume cryptographic operations.
Same gist for agents: .md · .json

What it is and what it does

google-cloud-kms is the official Python client library for Google Cloud Key Management Service, a managed cryptographic key service hosted on Google Cloud Platform. It wraps the KMS API to allow Python applications to create, manage, and use encryption keys without storing key material locally. The library handles authentication via Google Cloud credentials, serialization of requests and responses using Protocol Buffers, and gRPC communication with Google's KMS backend.

Typical usage involves instantiating a KeyManagementServiceClient, then calling methods to perform cryptographic operations (encryption, decryption, key creation, rotation) or manage key policies and permissions. The library is built on google-api-core and google-auth, inheriting their patterns for credential handling and API interaction. It supports current Python versions (3.10 through 3.14) and is actively maintained by Google as part of the broader google-cloud-python ecosystem.

Use it for

  • Encrypt sensitive data at rest in applications running on or off Google Cloud Platform using centrally managed keys.
  • Implement key rotation policies and audit trails for cryptographic key usage across multiple services.
  • Secure credential storage by encrypting API keys, database passwords, and secrets with KMS-managed keys.
  • Build compliance-ready applications that require hardware-backed key storage and centralized key lifecycle management.
  • Integrate with Google Cloud services that natively support KMS (e.g., Cloud Storage, Cloud SQL) for transparent encryption.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is the official, actively maintained client for Google Cloud KMS with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if your application needs to use Google Cloud's managed key service for encryption, key management, or compliance-driven key lifecycle operations. Requires GCP project setup and credentials configuration upfront.

Install

google-cloud-kms on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of 29 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, grpc-google-iam-v1).

Requires Google Cloud authentication setup (service account credentials or Application Default Credentials) and an active GCP project with Cloud KMS enabled.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install google-cloud-kms

from google.cloud import kms_v1

client = kms_v1.KeyManagementServiceClient()
# Use client to call KMS methods (e.g., encrypt, decrypt, create_key)

Verify before relying

  • Specific KMS operations supported (encrypt, decrypt, key rotation, etc.) beyond the general API client wrapper.
  • Whether the library handles automatic credential discovery or requires explicit credential configuration.
  • Performance characteristics and rate-limiting behavior for high-volume cryptographic operations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
google-api-coregoogle-authgrpcioproto-plusprotobufgrpc-google-iam-v1
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads150,610,135 / month, #267 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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_kms-3.16.0-py3-none-any.whl

Tags

Capabilities
google cloud kms python clientcloud key management service apimanaged encryption key servicegoogle kms cryptographic operationscloud-based key managementgoogle cloud encryption keyskms key rotation and management
Topics
google-cloudkey-managementcryptography

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 kms python client”

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

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.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

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.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also google-cloud-api-keys · tink · aliyun-python-sdk-kms · google-cloud-functions · PyKMIP · aws-cryptographic-material-providers · aws-encryption-sdk · google-cloud-monitoring · google-cloud-resource-manager · google-cloud-filestore