# Grant project IAM role to user in Google Cloud Platform

> A Slack request opens a GCP project’s IAM page and grants the specified role to a user so scoped cloud access lands with a record.

Source: https://stepwork.com/marketplace/grant-project-iam-role-to-user-in-google-cloud-platform

Automatically grant a project IAM role in Google Cloud from a Slack request with Stepwork, so scoped access is given in minutes with an audit trail.

**Apps:** Google Cloud Platform
**Starts with:** Slack request
**Use case:** Access management
**Best for:** Cloud Administrator, IT Administrator
**Applications used:** Google Cloud Platform, Slack
**Business outcome:** Time savings

## Access tickets wait on whoever has the console open.

Engineers need a specific role on a specific GCP project. Cloud admins process those tickets by opening IAM and adding the principal by hand.

Urgent work waits. Over-broad roles get granted to unblock someone faster. There is little consistency in what was asked versus what was granted.

## Scoped cloud access granted in minutes with a record of what was asked

Stepwork opens the target GCP project’s IAM page and grants the specified role to the user. The run records who asked, which project, and which role.

- The role is granted on the named project only.
- The principal and role match the Slack request.
- If the project or role cannot be found, the run stops.

## From Slack request to a granted GCP IAM role

A teammate posts the access request in Slack. Stepwork grants the role in Google Cloud Platform.

1. **Request it in Slack** (Slack): A teammate posts the user’s email, the GCP project, and the role. That message starts the flow, and Stepwork records who asked and when.
2. **Open project IAM** (Google Cloud Platform): Stepwork signs in to Google Cloud Platform and opens the named project’s IAM page. If the project cannot be found, the run stops.
3. **Grant the role** (Google Cloud Platform): Stepwork adds the principal with the specified role, the same grant a cloud admin would make from the IAM editor.
4. **Confirm and reply in Slack** (Slack): Stepwork checks that the binding appears, then posts the result back in Slack.

## Access grants stay on the path you recorded

Stepwork runs the GCP IAM grant path you recorded. Scoped roles land the same way every time, with a record of the ask.

## Questions

**Q: How do I grant a GCP project IAM role automatically?**
Post the user’s email, project, and role in Slack. Stepwork opens that project’s IAM page, grants the role, and replies.

**Q: Does this grant org-wide access?**
No. It only grants the named role on the named project from the request.

**Q: How do I remove that access later?**
Removing a user from project IAM bindings in Google Cloud Platform clears bindings across the projects you name.

---

This is the Markdown version of https://stepwork.com/marketplace/grant-project-iam-role-to-user-in-google-cloud-platform, built from the same copy as the page. Everything about Stepwork for AI tools: https://stepwork.com/llms.txt. Book a demo: https://calendly.com/shaun-maclellan/1-1-w-shaun-stepwork
