Authentication with Google¶
Overview¶
Google Cloud Platform offer multiple ways to authenticate to Google APIs. In the main focus,
flowchart LR
auth[Google Authentication]
auth --> oauth2[OAuth2] --> 1[Make API calls on hehalf of a given user]
auth --> akey[API Key] --> 2[Access service from a client or the server]
auth --> adc[Application default credentials] --> 3[Access to API using Google Cloud SDK]
auth --> sc[Service account credentials] --> 4[Directly API a service account]
Ref: https://www.npmjs.com/package/googleapis
Within context, there are diffrent between
To breakdown the different context and how to use it, let learn
I has struggle a lot when dealing with Authentication on Google
So I write this document to enrich my knowledge
Security Recommendataion¶
Supported Libraries¶
To learn more about the authentication client, see the Google Auth Library.
Reference¶
https://gcloud.readthedocs.io/en/latest/google-cloud-auth.html#overview