Skip to main content

Cloud Key Management Service (KMS) API client library

Project description

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 virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, 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

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-kms

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-kms

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-cloud-kms-2.12.0.tar.gz (119.2 kB view details)

Uploaded Source

Built Distribution

google_cloud_kms-2.12.0-py2.py3-none-any.whl (111.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file google-cloud-kms-2.12.0.tar.gz.

File metadata

  • Download URL: google-cloud-kms-2.12.0.tar.gz
  • Upload date:
  • Size: 119.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for google-cloud-kms-2.12.0.tar.gz
Algorithm Hash digest
SHA256 c929422f4524a69a1be88baedbe7d54233c3b009e62b562f6ddd88f3e0d5ca59
MD5 3214c99710e6708ca53864762947e1ad
BLAKE2b-256 a456f0e83a0389dd48ae2c053e9f2f70d65655e2c4dc1d77b80eb7b884dd2253

See more details on using hashes here.

File details

Details for the file google_cloud_kms-2.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_kms-2.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80a9e98de9a81c5bfc4cbfcf052d475da9130f99e55a23e228b0468efa38c9d4
MD5 aadedc3fd7da8de01a5020ea23f13dbc
BLAKE2b-256 61dce3694bcaaec0c6ca667fb89b8202cc20ca790ba964c2c82f9f653463e334

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page