google-iam Questions
3
Solved
I'm unable to create a Cloud Function in my GCP project using GUI, but have admin roles for GCF, SA and IAM.
Here is the error message:
Missing necessary permission iam.serviceAccounts.actAs for
c...
Atahualpa asked 18/1, 2022 at 13:53
1
I'm running Python code on my computer that makes calls to Google Cloud Platform. I'm trying to know if my application is using my own credentials or service account keys to get authorizations on G...
Dubonnet asked 7/2, 2022 at 15:58
2
So, we have a "Compute Engine default service account", and everything is clear with it:
it's a legacy account with excessive permission
it used to be limited by "scope" assign...
Demy asked 26/1, 2022 at 9:44
3
Solved
I've deployed a small HTTP endpoint via Google Cloud Run. It is working fine when I turn off the authentication.
I now want to turn it on so that it is only callable by my Firebase Cloud Function. ...
Wastepaper asked 10/7, 2020 at 21:17
3
Is it possible to get a list of all permissions that have been granted (specifically or transitively) to a user or GCP service account, ideally filtered by resource, through gcloud or the web UI?
Blabber asked 22/10, 2018 at 16:13
1
Solved
The PubSub service account is service-<PROJECT_NUMBER>@gcp-sa-pubsub.iam.gserviceaccount.com
The command described here to create an IAM policy binding succeeds, which shows that the service ...
Perquisite asked 14/10, 2021 at 10:12
3
I'm looking into roles in GCP. I have a use case to read everything in GCP. So when I looked at the viewer role, docs say it is a read-only role but it seems it has a lot of restrictions. what are ...
Blague asked 15/7, 2021 at 0:14
1
Solved
The documentation for the Service Account User role is a bit confusing.
https://cloud.google.com/iam/docs/service-accounts#user-role
Users granted the Service Account User role on a service accoun...
Wolfish asked 10/9, 2021 at 6:46
3
Here my use case.
I already have a Cloud Run service deployed in private mode. (same issue with Cloud Function)
I'm developing a new service that use this Cloud Run. I use the default credential ...
Immunoreaction asked 12/5, 2020 at 14:36
3
One of the Google Kubernetes Engine (GKE) clusters ($GKE_CLUSTER) within a Google Cloud Platform (GCP) project ($GCP_PROJECT) seems to be unable to pull Docker Images from Google Container Registry...
google-cloud-platformgoogle-compute-enginegoogle-kubernetes-enginegoogle-container-registrygoogle-iam
Disconsolate asked 20/2, 2019 at 8:20
3
Solved
I want to update my deployment on kubernetes with a new image which exists on 'eu.gcr.io' (same project), I have done this before. But now the pods fail to pull the image because they are not autho...
Foliaceous asked 2/3, 2019 at 10:52
1
I am facing challenge to invoke cloud Function from cloud task using oidcToken.
Here are details of my IAM & Code:
const { CloudTasksClient } = require('@google-cloud/tasks');
const client = ne...
Channing asked 17/11, 2020 at 3:44
1
Solved
I am trying to create a project in the Google console cloud using the PHP client library.
I copied this sample code from https://cloud.google.com/resource-manager/reference/rest/v1/projects/create#...
Cubbyhole asked 19/9, 2020 at 17:31
1
Solved
I gave a user's Google account access to one of my datasets. They are using this Python script:
def query_stackoverflow():
client = bigquery.Client()
query_job = client.query(
"""...
Darn asked 2/9, 2020 at 18:45
3
my partner added me as a member in a GCP project, with computer engine Admin role, but i didn't receive any invitation email.
we have already checked in spam folder.
i tried also to acc
https://co...
Natheless asked 22/6, 2018 at 10:32
3
Solved
I have setup a compute instance called to run cronjobs on Google Compute engine using a service account with the following roles:
Custom Compute Image User + Deletion rights
Compute Admin
Compute...
Brooder asked 6/6, 2018 at 13:29
3
Solved
When calling admin.auth().createCustomToken(), I get the following error:
Permission iam.serviceAccounts.signBlob is required to perform this operation on service account projects/-/serviceAccou...
Emmalynne asked 6/1, 2019 at 23:43
2
Solved
I'm trying to write a simple backend that will access my Google Cloud Firestore, it lives in the Google Kubernetes Engine. On my local I'm using the following code to authenticate to Firestore as d...
Sukkoth asked 29/6, 2020 at 14:1
5
I am trying to enabled Workload Identity on my cluster but I'm getting the following error when testing it from a pod:
root@workload-identity-test:/# gcloud auth list
ERROR: gcloud crashed (Metada...
Polder asked 28/7, 2019 at 13:27
2
Solved
I would like to allow users to impersonate a service account to do operations on a long running process.
However, all the code examples illustrate a service account impersonating another service a...
Espagnole asked 5/3, 2020 at 22:14
2
Solved
I checked the IAM & admin in the GCP console UI. I have two roles: (Company name) Project Owner and Editor. The member is my company email address.
But when I try to edit(the edit button) ot...
Metalliferous asked 16/1, 2020 at 12:54
0
I can't figure out why I keep getting the error: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.
firebas...
Leading asked 17/5, 2020 at 20:42
1
Solved
I am using the Google Cloud Console for this purpose. When I create a service account, I can assign specific roles. But after I create it, I don't see an option to Update Roles of Service Accounts....
Acervate asked 17/5, 2020 at 5:27
1
Solved
gcloud has a --impersonate-service-account flag
gsutil has a -i flag
But I want to configure impersonation once in my current session and then know that all future commands are using that service a...
Rossiya asked 16/4, 2020 at 14:55
1
Assume two users, A and B have full access to a GCP project. User A creates a VM. Once this is done , it appears user B can login into the VM and also has sudo access to the VM.
we used enable-osl...
Nexus asked 3/3, 2020 at 9:20
© 2022 - 2025 — McMap. All rights reserved.