107
Views
1
Comments
[GoogleAPIToken] how to use
Question
googleapitoken
Web icon
Forge asset by Miguel João

Hello,

1. I'm using server to server delegation of authority using service account in my project. I'm not sure if this component would help me. There is this client email. Should I use the service account email or the admin email for my gsuite here.

2. Also the private key field, should I use the private key as it is like including BEGIN PRIVATE KEY or shoud it be removed


Thanks,

Samuel Stephen 

2018-05-03 15-19-41
Miguel João
Staff

Hello Samuel,


This component is for authenticating into Google Cloud services using a service account, not the user's emails. So if you have a service account created for a Google Cloud service, you can use the service account email generated for the service account, and the correspondent private key, including the BEGIN PRIVATE KEY and END PRIVATE KEY separators.


For example, a service account email might look like "myproject-id@appspot.gserviceaccount.com" or "myproject-id@project-id-iam.gserviceaccount.com".

You can manage your Google Cloud Service accounts using the Google Cloud Console, under IAM & Admin -> Service Accounts section.


Hope this information is helpful.


Cheers

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.