googleapis / enterprise-certificate-proxy

Repository for the Enterprise Certificate Proxy project.
Apache License 2.0
21 stars 13 forks source link

Code samples for Google API libraries #134

Open jay0lee opened 1 week ago

jay0lee commented 1 week ago

Ideally the tool would provide a few examples of how to use it with existing Google Client Libraries like google-auth-python and Java. The code samples don't need to be complex, just short examples to get developers already familiar with our client libraries started.

salrashid123 commented 2 days ago

afaik, there isn't anything special to do on the client library/sdk except maybe an env-var to trigger that codepath to use the proxy.

the difficult part is setting it up. here's one for softhsm

https://gist.github.com/salrashid123/443beb8992482f60cd9411d44b0a6fe2