Skip to main content

Python Client for Google Cloud Key Management Service API

stable pypi versions

Google Cloud Key Management Service API: a cloud-hosted key management service that lets you manage cryptographic keys for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256, RSA 2048, RSA 3072, RSA 4096, EC P256, and EC P384 cryptographic keys. Cloud KMS is integrated with Cloud IAM and Cloud Audit Logging so that you can manage permissions on individual keys and monitor how these are used. Use Cloud KMS to protect secrets and other sensitive data that you need to store in Google Cloud Platform.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Google Cloud Key Management Service API.

  4. Setup Authentication.

Installation

Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.

With venv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Code samples and snippets

Code samples and snippets live in the samples/ folder.

Supported Python Versions

Our client libraries are compatible with all current active and maintenance versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-kms

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-kms

Next Steps

Metadata

Release files for google-cloud-kms 2.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-cloud-kms 2.19.0
File Size Uploaded
google-cloud-kms-2.19.0.tar.gz 168.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for google-cloud-kms 2.19.0
File Interpreter ABI Platform
google_cloud_kms-2.19.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 310.3 kB

Release files / google-cloud-kms-2.19.0.tar.gz

Download URL google-cloud-kms-2.19.0.tar.gz
Size 168.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fa98c8fbafb4efa3635613e346e7f6e61df963e11042c45e7c5a3fbba3ebbf84
BLAKE2b-256 checksum
How to use checksums
21aeb3b66efd5046c2dbed7c969db07b6d2a76544bf8e9013759f9f08702f726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / google_cloud_kms-2.19.0-py2.py3-none-any.whl

Download URL google_cloud_kms-2.19.0-py2.py3-none-any.whl
Size 141.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f73d69640e4789d58386e4ff373644ba92111f06c08873f7eca866e33913e2b
BLAKE2b-256 checksum
How to use checksums
f92bb1cb39cefca008c1ea2544f741fb0ff03d84e713e38aed0392e01b4658db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

3.17.0

2 release files

3.16.0

2 release files

3.14.0

2 release files

3.12.0

2 release files

3.11.0

2 release files

3.10.0

2 release files

3.9.0

2 release files

3.8.0

2 release files

3.7.0

2 release files

3.6.0

2 release files

3.5.1

2 release files

3.5.0

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.24.2

2 release files

2.24.0

2 release files

2.23.0

2 release files

2.21.4

2 release files

2.21.2

2 release files

2.19.2

2 release files

This release

2.19.0 This release

2 release files

2.17.0

2 release files

2.16.1

2 release files

2.16.0

2 release files

2.15.0

2 release files

2.14.1

2 release files

2.14.0

2 release files

2.13.0

2 release files

2.12.3

2 release files

2.12.1

2 release files

2.12.0

2 release files

2.10.0

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page