grafeas / voucher

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

Add support for ADC using voucher_client #53

Closed rxbchen closed 2 years ago

rxbchen commented 2 years ago

CloudBuild has some issues retrieving id_tokens from the metadata server resulting in the following error:

creating client failed: metadata: GCE metadata "instance/service-accounts/default/identity?audience=[someurl]" not defined

This pr aims to make auth using application-default-credentials possible, since it is exposed by GCB