grafeas / voucher

🎟 Voucher creates attestations for Binary Authorization
Apache License 2.0
73 stars 24 forks source link

Separate http and auth token clients #48

Closed lynnsh closed 2 years ago

lynnsh commented 2 years ago

We want auth client used for CloudRun only, so this PR adds the option to choose auth client depending on the what kind of server is called. CloudRun clients would call NewAuthClient and GKE clients would call NewClient.