Questions tagged [service-accounts]
Use for questions about application/service/bot owned accounts. Do not use for questions about user owned accounts.
service-accounts
1,588
questions
0
votes
2
answers
53
views
Need to understand the difference between adding scope vs adding role to service account [closed]
My use case is very simple. Basically from VM communicate with Google Cloud Storage bucket. Communication means listing down what is inside, copy files, delete files etc.
I saw I can achieve this by ...
0
votes
1
answer
43
views
Vertex AI authentication failed with service account credentials
I am developing a server application in TypeScript that uses the text generation feature of Vertex AI. The application is built as a Docker image and runs on an on-premises Kubernetes (K8S) cluster.
...
0
votes
0
answers
7
views
Service Account Role and Scope Relation while creating Virtual Machine
I have created a new Virtual Machine with custom defined service account. I have given "Storage Object Creator" & "Storage Object Viewer" roles to the service account. Now ...
0
votes
0
answers
65
views
Not able to create Virtual Machine [closed]
I have added one principal with my another google email address and provided the role "Compute Admin". Now when I logged in to the console with that google account and try to create a new ...
0
votes
0
answers
36
views
Elasticsearch’s S3 Snapshot Repository: The Mystery of the Inaccessible S3 Bucket ==> Access Denied
Elasticsearch Version
7.17.12
Installed Plugins
repository-s3
Java Version
JAVA_RUNTIME_VERSION="20.0.2+9-78
OS Version
Linux elasticsearch-data-0 5.10.214-202.855.amzn2.x86_64 #1 SMP Tue Apr 9 ...
0
votes
0
answers
30
views
google business reviews, service account "Request had invalid authentication credentials"
I'm trying to fire a request to "https://mybusiness.googleapis.com/v4/accounts/XXXXXXXXX/locations/YYYYYYYY" to get my business reviews out. I have access to the google business API and by ...
0
votes
0
answers
35
views
Accessing Google Cloud API (BigQuery) on behalf of a user
I have implemented an oauth2 flow in my frontend and I am storing user credentials in my backend, like this:
export type Credentials = {
refresh_token: string;
expiry_date: number;
...
1
vote
2
answers
69
views
Run Vertex AI notebook with user credential
I have a notebook in Vertex AI and I want to schedule it to run on a certain time of Day. My notebook makes a call to BigQuery to get data from certain tables and then process it. My challenge is the ...
0
votes
0
answers
19
views
node-red connection with cloud firestore and service account account credential issue - node-red error 5 not found
Here's the workflow:
I created a project in google cloud platform.
I went to Firebase, created a Firebase project, and then set up Cloud Fire store.
I navigated to the google cloud platform service ...
0
votes
1
answer
50
views
Specifying "From" field using Gmail API with service account with domain-wide authority (Python)
I have a webapp sending mail through the Gmail API using a service account that is impersonating a user account ([email protected]) through domain-wide access.
The emails are sending fine, but I want my ...
0
votes
0
answers
29
views
Logging into LookerStudio report embedded in webpage using a google service account
We need to programmatically embed a few looker studio reports in our Webpage/app for different users to see. But these users may not have a google login when they login to our app. So we thought of ...
0
votes
0
answers
24
views
User cannot copy file to their own Drive shared by a service-account
We are trying to have users copy files that were shared with them by a service account, but when we use the files.copy method it responds with a 404. The token we have from the user has the drive.file ...
0
votes
1
answer
32
views
My GCP project doesn't allow the Snowflake service account to connect
This new GCP policy doesn't allow my Snowflake account service account to connect: iam.allowedPolicyMemberDomains.
https://cloud.google.com/resource-manager/docs/organization-policy/restricting-...
0
votes
0
answers
44
views
Google Cloud Function trigger doesn't have the correct permissions but Grant All throws an error Invalid service account (undefined)
I have deployed a Google Cloud function and am trying to set up a Cloud Firestore trigger for it.
The problem I'm facing is that when I select Cloud Firestore from the list of triggers, I get a ...
2
votes
0
answers
64
views
Apps Script OAuth2 Library Dropping Scopes
Edit: solved, it wound up fixing itself overnight. Ran the same code today and it worked as expected. The service account was still pretty new, so perhaps some jobs hadn't run yet to finish the setup. ...