File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,15 @@ To run this sample:
34
34
35
35
More information about the Cloud KMS quickstart is available at https://cloud.google.com/kms/docs/quickstart
36
36
37
+ ## Test permissions
38
+
39
+ The service account running the tests needs to have the following roles:
40
+ * roles/cloudkms.admin
41
+ * roles/cloudkms.cryptoKeyEncrypterDecrypter
42
+ * roles/cloudkms.cryptoOperator
43
+ * roles/cloudkms.publicKeyViewer
44
+ * roles/cloudkms.signerVerifier
45
+
37
46
## Additional Information
38
47
39
48
These samples use the [ Google Cloud Client Library for Python] [ client_library_python ] .
Original file line number Diff line number Diff line change 10
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
+ """
14
+ Tests for the KMS samples.
15
+
16
+ The service account running the tests needs to have the following roles:
17
+ * roles/cloudkms.admin
18
+ * roles/cloudkms.cryptoKeyEncrypterDecrypter
19
+ * roles/cloudkms.cryptoOperator
20
+ * roles/cloudkms.publicKeyViewer
21
+ * roles/cloudkms.signerVerifier
22
+ """
13
23
14
24
import datetime
15
25
import hashlib
You can’t perform that action at this time.
0 commit comments