Goth: OAuth2 for service accounts via Google Cloud APIs
Google + Auth = Goth
Goth is a simple library to generate and retrieve OAuth2 tokens for use with Google Cloud Service accounts. It can either retrieve tokens using service account credentials or from Google’s metadata service for applications running on Google Cloud Platform.