Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 549 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 549 Bytes

mtls_grpc_sample

Login with "[email protected]".

gcloud auth login
gcloud config set project sijun-mtls-demo

Download the repo:

git clone https://github.com/arithmetic1728/mtls_grpc_sample.git

Create a virtual environment:

pyenv virtualenv mtls_grpc_sample
pyenv local mtls_grpc_sample

Install the following in order.

python -m pip install -e pubsub

Run the sample, python grpc_sample.py

This repo also contains a http sample. To run it:

python -m pip install pyopenssl
python http_sample.py