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


Release history Release notifications | RSS feed

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.1.tar.gz (119.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_cloud_kms-2.12.1-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.1.tar.gz.

File metadata

  • Download URL: google-cloud-kms-2.12.1.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.1.tar.gz
Algorithm Hash digest
SHA256 035b0876435d2b82fa81bdd5040a6e289ef527937626ae3791c0fc0e91d4f7d1
MD5 7000c75e4eea708cf513ec74de3db600
BLAKE2b-256 37a620480cf805988421112e811aaf84e00d7a7d864ca722219653ed282a6af4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_cloud_kms-2.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1715493c91b2693ae317dcd71a5a6696a4543a47451a0fc12a805e0cee6e1c43
MD5 647f8559808969e16b4a3636257c43cc
BLAKE2b-256 9eefd86397ed248fd6388775168391193425248d0627019c30f25c890746f5f6

See more details on using hashes here.

Supported by

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