Questions tagged [service-accounts]

The Google OAuth 2.0 endpoint supports server-to-server interactions such as those between a web application and Google Cloud Storage.

A service account is used when you want to access your own data and not data owned by other users. In this instance there is no reason to use OAuth2 and prompt a user to give you access to there information, its your information you already have access.

For this scenario you need a service account, which is an account that belongs to your application instead of to an individual end user. For example, if you use the Google Prediction API to act on behalf of your application without accessing any user data, your application uses its service-account credentials to prove its own identity, and no end user is involved.

A service account's credentials include a generated email address that is unique, a client ID, and at least one public/private key pair. You obtain these credentials in the Google Developers Console, or if your application uses Google App Engine, a service account is set up automatically. You use the client ID and one private key to create a signed JWT and construct an access-token request in the appropriate format.

1492 questions
0
votes
1 answer

How to open google Drive interface in a browser

I'm trying to open the Google Drive interface "www.drive.goole..." from an app in Java using a service account. The service account works fine, I can acces to my files, insert .... But I need to open the google interface without login in google,…
0
votes
1 answer

exclude subset of users from domain wide delegation (service account)

I'm working with the Google+ Domains API using a service account for domain wide delegation. Unfortunately, we're having difficulties with our client regarding the authorization model, because in theory we have access to all G+ data (even from the…
luca
  • 12,311
  • 15
  • 70
  • 103
0
votes
1 answer

Google API Access from web application to youtube

I am trying to achieve the following: an authenticated user uploads a video on my web application my web app stores the video, logs it in our database etc. then connects to a Google account and makes a request to upload the video to a Youtube…
little_edian
  • 121
  • 1
  • 1
  • 3
0
votes
1 answer

EWS Search Calendar with Service Account

I'm using the following code to return items from the calendar. When I connect with the user's actual credentials, I get 10 items back, as expected. When I connect as the service account, I always get 0. The service account has the right privileges…
tmoore82
  • 1,857
  • 1
  • 27
  • 48
0
votes
1 answer

Google OAuth2 Service Accounts API Authorization

I'm trying to authenticate my server app through Google's service account authentication but, for some reason, it is just not pushing through. In the API console, I already created the project, enabled the service I need (Admin SDK), and created a…
roninblade
  • 1,882
  • 15
  • 15
0
votes
1 answer

Set windows service account in config

I need to set the serviceaccount for a windows service in the config file. But I cannot access the config values in the installer. I read this question but I do not want to use install parameters. Is there any way to do this? EDIT: And I also tried…
0
votes
2 answers

How to make API requests with an access_token for a Service Account

My end goal is to be able to retrieve place details from Google's API. I need to do this as a Service Account, since this is kicked off as a background task on my server. Service Accounts require you to exchange a JWT (JSON Web Token) for an…
djibouti33
  • 12,102
  • 9
  • 83
  • 116
0
votes
1 answer

Google Drive SDK: Next step after obtaining a token from generateAssertion()

Alright, I'm trying to set my application up with with the Google Drive SDK. I am using it as a service account, so the set up is a little different. This is how I am doing things: including required files: require_once…
Alex Douglas
  • 534
  • 1
  • 8
  • 21
-1
votes
0 answers

Sign Service Account Keys by CA

I have services running on GCP where the service needs to authenticate itself (as a client) to another non GCP server. This server provides X.509 certificate based authentication. The only requirement is that the client certificate is signed by a…
Raman
  • 548
  • 1
  • 7
  • 17
-1
votes
1 answer

Edit Events of an App using Google Calendar API and Service Account

I am working on a web application where you can basically create event and join events of others people. When people log in, they can link their accounts with their Google Agenda. When people are doing some updates from my app, everything is ok. But…
-1
votes
1 answer

Dont understand service account for ingress

I am learning ingress and ingress controller. So I understand that I have to do the following tasks- ingress controller deployment create service account ingress controller service nodeport expose create ingress resources to attach services. Now…
Arghya Roy
  • 429
  • 3
  • 13
-1
votes
3 answers

Adding cross project service account in GCP cloud functions

We have added a IAM service account from Project A to project B in GCP with Cloud function Admin permissions We are now trying to create a cloud function in project B using the same service account . But the service account is not listed in the…
-1
votes
2 answers

Error 'USER_PROJECT_DENIED' when trying to list the unused service accounts in gcp

I am trying to list unused service accounts in a gcp project Working fine when using gcloud command gcloud recommender insights list \ --insight-type=google.iam.serviceAccount.Insight \ --location=global \ …
usertj
  • 21
  • 4
-1
votes
1 answer

Service account functionality in GCP

My organization is using GCP, and we have service accounts created for me and my co-workers. We need to use BigQuery storage transfer service, Cloud Dataflow and other Google Cloud resources. 1)So, what will be the recommended way of creating the…
-1
votes
3 answers

How to link a google cloud vm to an instance schedule?

I want to run my google cloud server everyday on specific times. I set up an instance schedule for that but when i try to link my vm to the schedule it gives me the following error: Compute Engine System service account…