We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 476f4cd commit 1717e92Copy full SHA for 1717e92
kms/snippets/snippets_test.py
@@ -13,6 +13,9 @@
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
# See the License for the specific language governing permissions and
15
16
+import random
17
+import string
18
+
19
from googleapiclient import discovery
20
21
import snippets
@@ -22,10 +25,12 @@
22
25
LOCATION = 'global'
23
26
24
27
# Your Google Cloud Platform KeyRing name
-KEYRING = 'sample-keyring-43'
28
+KEYRING = ''.join(
29
+ random.choice(string.ascii_lowercase + string.digits) for _ in range(12))
30
31
# Your Google Cloud Platform CryptoKey name
-CRYPTOKEY = 'sample-key-43'
32
+CRYPTOKEY = ''.join(
33
34
35
# Your Google Cloud Platform CryptoKeyVersion name
36
VERSION = 1
0 commit comments