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.
- Use case
- Access managementIT
- Best for
- Cloud Administrator, IT Administrator
- Applications used
Google Cloud Platform
Slack
- Business outcome
- Time savings
The problem
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.
The outcome
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.
The process
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.
- Step 1
Request it in 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.
- Step 2
Open project IAM
Stepwork signs in to Google Cloud Platform and opens the named project’s IAM page. If the project cannot be found, the run stops.
- Step 3
Grant the role
Stepwork adds the principal with the specified role, the same grant a cloud admin would make from the IAM editor.
- Step 4
Confirm and reply in Slack
Stepwork checks that the binding appears, then posts the result back in Slack.
Why Stepwork
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.
Similar use cases
Similar use cases
Remove user from project IAM bindings in Google Cloud PlatformFinds all IAM bindings for a user in specified GCP projects and removes each one.
Create IAM user with group membership in AWSCreates an IAM user in the AWS console and adds them to the groups granting their policy set.
Create user and assign groups in OktaCreates a new Okta user with name, email, and title, then assigns the group memberships that grant their app entitlements.
FAQ
Common questions
Ask about this use case
Bob answers from this page and the rest of stepwork.com, and links each source.
Bob answers only from what Stepwork has published, and links every source. Questions are saved to improve answers, so leave out anything confidential.

