33 Google Cloud KMS API Python Samples
44===============================================================================
55
6+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
7+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=kms/api-client/README.rst
8+
9+
610This directory contains samples for Google Cloud KMS API. The `Google Cloud KMS API `_ is a service that allows you to keep encryption keys centrally in the cloud, for direct use by cloud services.
711
812
@@ -54,6 +58,10 @@ Samples
5458Quickstart
5559+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5660
61+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
62+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=kms/api-client/quickstart.py;kms/api-client/README.rst
63+
64+
5765
5866
5967To run this sample:
@@ -66,6 +74,10 @@ To run this sample:
6674 Snippets
6775+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6876
77+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
78+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=kms/api-client/snippets.py;kms/api-client/README.rst
79+
80+
6981
7082
7183To run this sample:
@@ -75,16 +87,17 @@ To run this sample:
7587 $ python snippets.py
7688
7789 usage: snippets.py [-h]
78- {create_key_ring,create_crypto_key,encrypt,decrypt,disable_crypto_key_version,destroy_crypto_key_version,add_member_to_crypto_key_policy,get_key_ring_policy}
90+ {create_key_ring,create_crypto_key,encrypt,decrypt,disable_crypto_key_version,enable_crypto_key_version, destroy_crypto_key_version,restore_crypto_key_version ,add_member_to_crypto_key_policy,get_key_ring_policy}
7991 ...
80-
92+
8193 positional arguments:
82- {create_key_ring,create_crypto_key,encrypt,decrypt,disable_crypto_key_version,destroy_crypto_key_version,add_member_to_crypto_key_policy,get_key_ring_policy}
83-
94+ {create_key_ring,create_crypto_key,encrypt,decrypt,disable_crypto_key_version,enable_crypto_key_version, destroy_crypto_key_version,restore_crypto_key_version ,add_member_to_crypto_key_policy,get_key_ring_policy}
95+
8496 optional arguments:
8597 -h, --help show this help message and exit
8698
8799
88100
89101
102+
90103 .. _Google Cloud SDK : https://cloud.google.com/sdk/
0 commit comments