google-iam Questions

2

Solved

I am trying to give a user read access to a Google Cloud Storage bucket. The user has the "Storage Object Viewer" role but the user cannot see the items in the bucket: The project ID is...

4

I am trying to allocate the roles to the user in the Terraform file in a GCP project, but I am getting the below error : Error: Request "Create IAM Members roles/compute.networkAdmin user:[em...

3

Solved

I wanted to use a service account to manage VM instances on GCE remotely. It did not work. Therefore this question. One difference I found between a service account and a user account, after many h...
Hispania asked 30/11, 2019 at 7:40

3

I am trying to deploy a service with a non-default service account by following this guide and it says I need "the iam.serviceAccounts.actAs permission on the service account being deployed". The s...

5

The above error message is being thrown when I try to add a task to a queue. Here is my setup and the info about this problem: Project ID: my-project Service Account ID: my-service-account Task ...
Latonya asked 14/11, 2018 at 22:40

2

Is it possible to know the last activity of service account's key in GCP IAM, similar to AWS IAM's GetAccessKeyLastUsed? I was avoiding the option of monitoring the activity from GCP Stackdriver.
Flapdoodle asked 2/5, 2019 at 16:20

4

Solved

TLDR; I'm having trouble assigning an IAM permission to a service account. I'm building a test that involves minting custom tokens with firebase Auth. When I hit: const token = await admin.auth...

3

Solved

Starting with this: users have their own google user accounts that are setup locally via gcloud login the application is using the gcp APIs in the usual way- by default it will look for GOOGLE_A...
Oria asked 21/4, 2020 at 14:12

3

Solved

I'm using the following resource "google_service_account" "store_user" { account_id = "store-user" display_name = "Storage User" } resource "google_p...
Irregular asked 6/6, 2021 at 21:29

1

Solved

Hi terraform mates out there I want to automate the role assignments process for service accounts and users on the Google Cloud Platform. I am actually thinking of creating IAM custom roles to get ...
Pam asked 2/2, 2023 at 11:38

5

I am using Gcloud to run Prow (Continous Integration server). One of my job creates a virtual machine, perform some tests and then delete that instance. I use a service account to create VM, run te...
Yielding asked 6/11, 2018 at 21:54

6

Solved

Under Google Cloud Run, you can select which service account your container is running. Using the default compute service account fails to generate a signed url. The work around listed here works o...
Paralyse asked 6/10, 2020 at 21:43

3

Solved

According to the documentation which says Child policies cannot restrict access granted at a higher level. For example, if you grant the Editor role to a user for a project, and grant the Vie...
Juarez asked 17/1, 2019 at 16:38

3

Solved

I'm trying to build a container with GCP's Cloud Build. I'm using the simple template from the quickstart doc. I've done this before successfully. However, this time I am using a project which is...

3

Solved

Using the Container Optimized OS (COS) on Google Cloud Compute, what's the best way to access the credentials of the default service account for the VM-project from within a Docker container? $ gc...

5

Solved

I have created a custom service account travisci-deployer@PROJECT_ID.iam.gserviceaccount.com on my project and gave it the Cloud Run Admin role: gcloud projects add-iam-policy-binding "${PROJECT_I...

1

I have a brand new GCP account that I'm the only owner of, this is a personal/clean brand new project. I manage the infrastructure exclusively with terraform and trying to create a HTTPS load balan...

2

Solved

After discovering that a user (principal) needs an additional permission to perform a task, I would like to know what standard roles include that permission so I can add the role to the user. I wou...
Loupe asked 4/5, 2022 at 10:41

8

Solved

gcloud auth print-access-token gives me a Bearer token that I can use later on; however, this is a shell command. How would I obtain one programmatically via the Google Cloud Python API? I see a ...
Norean asked 25/11, 2018 at 22:0

6

I am trying to give Project Creator role to a service account from IAM, I do not see a role named Project Creator as explained here https://cloud.google.com/iam/docs/understanding-roles#resource-ma...
Anetteaneurin asked 20/11, 2019 at 15:30

1

I am currently managing a GCP project, and granted access to a colleague with the Viewer so that he can use the resources on it (mostly downloading files from storage). I have run into a problem al...
Gaynell asked 24/6, 2022 at 14:46

1

Solved

I have an application which allows OpenID Connect login. I need to be able to give the users admin/read-only access based on their roles or group membership. With Keycloak, I can configure the Clie...

3

Solved

I want to assign multiple IAM roles to a single service account through terraform. I prepared a TF file to do that, but it has an error. With a single role it can be successfully assigned but with ...

3

I've been trying to create a public cloud run invoker policy and bind that to my cb_app cloud run service so that it can be exposed. I've created a custom service and assigned it cloud admin role. ...

1

Solved

I am trying to get a Cloud Function to create a Cloud Task that will invoke a Cloud Function. Easy. The flow and use case are very close to the official tutorial here. I also looked at this article...

© 2022 - 2025 — McMap. All rights reserved.