Skip to content

Commit ecd66ea

Browse files
Russ Amosrsamborski
Russ Amos
authored andcommitted
KMS: Make the samples consistent with the other languages. [(#1075)](#1075)
In particular, this change: - changes to use a consistent "_id" suffix for resource name components - uses "data" instead of "text", since encryption is not restricted to text - substitutes "ciphertext" for "encrypted {text, data}" - spells "crypto key" and "key ring" each as two separate words, as in the API Tracking bug: http://b/64758639
1 parent 8328016 commit ecd66ea

File tree

3 files changed

+170
-169
lines changed

3 files changed

+170
-169
lines changed

kms/snippets/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ To run this sample:
9494
$ python snippets.py
9595
9696
usage: snippets.py [-h]
97-
{create_keyring,create_cryptokey,encrypt,decrypt,disable_cryptokey_version,destroy_cryptokey_version,add_member_to_cryptokey_policy,get_keyring_policy}
97+
{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}
9898
...
9999
100100
positional arguments:
101-
{create_keyring,create_cryptokey,encrypt,decrypt,disable_cryptokey_version,destroy_cryptokey_version,add_member_to_cryptokey_policy,get_keyring_policy}
101+
{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}
102102
103103
optional arguments:
104104
-h, --help show this help message and exit

0 commit comments

Comments
 (0)