This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for external key manager (via synth) (#8)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-04-09 05:17:46,671 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. On branch autosynth nothing to commit, working tree clean 2020-04-09 05:17:46,744 synthtool > Ensuring dependencies. 2020-04-09 05:17:46,749 synthtool > Pulling artman image. latest: Pulling from googleapis/artman fe703b657a32: Pulling fs layer f9df1fafd224: Pulling fs layer a645a4b887f9: Pulling fs layer 57db7fe0b522: Pulling fs layer 21813e587ee0: Pulling fs layer c1a422e3936c: Pulling fs layer 7896fdb9a0c9: Pulling fs layer 0de4b0ae0d3f: Pulling fs layer 01bd40777c31: Pulling fs layer 56b5bb33902f: Pulling fs layer 1614ad0d8336: Pulling fs layer 1966fa070a3e: Pulling fs layer bdec75005236: Pulling fs layer 926959728054: Pulling fs layer 6336bbde4243: Pulling fs layer 528525f78682: Pulling fs layer e563a20cd63b: Pulling fs layer 5c8b90802b46: Pulling fs layer 1779990e45c7: Pulling fs layer b5fe0cb05c88: Pulling fs layer 09523ca76318: Pulling fs layer a097eb4cee97: Pulling fs layer 45a97578bd37: Pulling fs layer 1abced54aff8: Pulling fs layer 32448d22ea50: Pulling fs layer cca4a4de1600: Pulling fs layer bd1b621d3208: Pulling fs layer 690f3c005fd3: Pulling fs layer 7896fdb9a0c9: Waiting 0de4b0ae0d3f: Waiting 01bd40777c31: Waiting 56b5bb33902f: Waiting 1614ad0d8336: Waiting 1966fa070a3e: Waiting bdec75005236: Waiting 926959728054: Waiting 57db7fe0b522: Waiting 21813e587ee0: Waiting c1a422e3936c: Waiting 6336bbde4243: Waiting 528525f78682: Waiting e563a20cd63b: Waiting 5c8b90802b46: Waiting 1779990e45c7: Waiting b5fe0cb05c88: Waiting 09523ca76318: Waiting a097eb4cee97: Waiting 45a97578bd37: Waiting 1abced54aff8: Waiting 32448d22ea50: Waiting cca4a4de1600: Waiting bd1b621d3208: Waiting 690f3c005fd3: Waiting a645a4b887f9: Download complete f9df1fafd224: Verifying Checksum f9df1fafd224: Download complete 57db7fe0b522: Verifying Checksum 57db7fe0b522: Download complete fe703b657a32: Verifying Checksum fe703b657a32: Download complete 21813e587ee0: Verifying Checksum 21813e587ee0: Download complete 7896fdb9a0c9: Verifying Checksum 7896fdb9a0c9: Download complete 0de4b0ae0d3f: Verifying Checksum 0de4b0ae0d3f: Download complete 56b5bb33902f: Verifying Checksum 56b5bb33902f: Download complete 01bd40777c31: Verifying Checksum 01bd40777c31: Download complete 1966fa070a3e: Verifying Checksum 1966fa070a3e: Download complete 1614ad0d8336: Verifying Checksum 1614ad0d8336: Download complete 926959728054: Verifying Checksum 926959728054: Download complete c1a422e3936c: Verifying Checksum c1a422e3936c: Download complete 6336bbde4243: Verifying Checksum 6336bbde4243: Download complete fe703b657a32: Pull complete 528525f78682: Verifying Checksum 528525f78682: Download complete e563a20cd63b: Verifying Checksum e563a20cd63b: Download complete f9df1fafd224: Pull complete a645a4b887f9: Pull complete bdec75005236: Verifying Checksum bdec75005236: Download complete 57db7fe0b522: Pull complete 5c8b90802b46: Verifying Checksum 5c8b90802b46: Download complete 1779990e45c7: Verifying Checksum 1779990e45c7: Download complete 09523ca76318: Verifying Checksum 09523ca76318: Download complete 45a97578bd37: Verifying Checksum 45a97578bd37: Download complete 1abced54aff8: Verifying Checksum 1abced54aff8: Download complete 32448d22ea50: Verifying Checksum 32448d22ea50: Download complete 21813e587ee0: Pull complete b5fe0cb05c88: Verifying Checksum b5fe0cb05c88: Download complete cca4a4de1600: Download complete bd1b621d3208: Download complete 690f3c005fd3: Verifying Checksum 690f3c005fd3: Download complete c1a422e3936c: Pull complete 7896fdb9a0c9: Pull complete 0de4b0ae0d3f: Pull complete 01bd40777c31: Pull complete 56b5bb33902f: Pull complete a097eb4cee97: Verifying Checksum a097eb4cee97: Download complete 1614ad0d8336: Pull complete 1966fa070a3e: Pull complete bdec75005236: Pull complete 926959728054: Pull complete 6336bbde4243: Pull complete 528525f78682: Pull complete e563a20cd63b: Pull complete 5c8b90802b46: Pull complete 1779990e45c7: Pull complete b5fe0cb05c88: Pull complete 09523ca76318: Pull complete a097eb4cee97: Pull complete 45a97578bd37: Pull complete 1abced54aff8: Pull complete 32448d22ea50: Pull complete cca4a4de1600: Pull complete bd1b621d3208: Pull complete 690f3c005fd3: Pull complete Digest: sha256:ef1a5b367dbe1e37cea1c7c814c801a638473e8dd66f87f4a2b8c2a146013673 Status: Downloaded newer image for googleapis/artman:latest 2020-04-09 05:18:30,711 synthtool > Cloning googleapis. 2020-04-09 05:18:31,217 synthtool > Running generator for google/cloud/kms/artman_cloudkms.yaml. 2020-04-09 05:18:57,649 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1. 2020-04-09 05:18:57,650 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/kms/v1/service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto/service.proto 2020-04-09 05:18:57,650 synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/kms/v1/resources.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto/resources.proto 2020-04-09 05:18:57,650 synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/kms-v1/google/cloud/kms_v1/proto. 2020-04-09 05:18:57,679 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2' in google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py. .coveragerc .flake8 .github/CONTRIBUTING.md .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .gitignore .kokoro/build.sh .kokoro/continuous/common.cfg .kokoro/continuous/continuous.cfg .kokoro/docs/common.cfg .kokoro/docs/docs.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/presubmit.cfg .kokoro/publish-docs.sh .kokoro/release.sh .kokoro/release/common.cfg .kokoro/release/release.cfg .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.rst LICENSE MANIFEST.in docs/_static/custom.css docs/_templates/layout.html docs/conf.py.j2 noxfile.py.j2 renovate.json setup.cfg Running session blacken Creating virtual environment (virtualenv) using python3.6 in .nox/blacken pip install black==19.3b0 black docs google tests noxfile.py setup.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/docs/conf.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/key_management_service_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/resources_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/service_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/noxfile.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/gapic/key_management_service_client.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/resources_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/tests/unit/gapic/v1/test_key_management_service_client_v1.py reformatted /tmpfs/src/git/autosynth/working_repo/google/cloud/kms_v1/proto/service_pb2.py All done! ✨ 🍰 ✨ 16 files reformatted, 5 files left unchanged. Session blacken was successful. 2020-04-09 05:19:04,531 synthtool > Wrote metadata to synth.metadata. ``` </details>
- Loading branch information