VOOZH about

URL: https://thenewstack.io/automating-on-demand-access-requests-for-google-cloud-platform/

⇱ Automating On-Demand Access Requests for Google Cloud Platform - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-11-13 11:49:30
Automating On-Demand Access Requests for Google Cloud Platform
sponsor-apono,sponsored-post-contributed,
Cloud Services / DevOps / Software Development

Automating On-Demand Access Requests for Google Cloud Platform

Whether going DIY, using Google's open source solutions or trying out-of-the-box tools, the goal is to provide secure, streamlined and manageable access.
Nov 13th, 2023 11:49am by Sharon Kisluk
👁 Featued image for: Automating On-Demand Access Requests for Google Cloud Platform
Image from Thapana_Studio on Shutterstock.
Apono sponsored this post.

When following the principle of least privilege, admins grant users just enough access so that they can carry out everyday activities, but can do nothing more. Following this principle helps reduce risk, but it can create friction for users when they need to perform a privileged action.

In these scenarios, granting the appropriate permissions is hard and is especially challenging with Google Cloud Platform (GCP) for several reasons:

  • Tasks and functions are not readily mapped out to each permission.
  • Admins for specific permissions aren’t automatically labeled.
  • There’s no way to incorporate additional context (for instance, how long an engineer needs elevated permissions) in a single ticket.
  • GCP does not provide visibility into who has access to which environments or resources out of the box.

Let’s discuss the three ways you can build just-in-time access to GCP to streamline privileged operations across your DevOps team.

Apono keeps organizations secure with simple and precise just-in-time permissions across the DevOps domain. Completely self serve and taking minutes to deploy, Apono helps DevOps teams view existing permissions and easily enable dynamic contextual access workflows directly from Slack, Teams, or CLI.
Learn More
The latest from Apono

Solution 1: DIY from Scratch

A handful of companies have already built internal solutions for requesting access. One such company, Mednition, even published an article about it.

Mednition had a few goals:

  • Have fewer standing privileges.
  • Speed up time involved in submitting tickets requesting access and gaining approval.
  • Fit within its current tech stack.
  • Create an audit trail that’s easy to index and search.
  • Support compliance requirements for auditing and logging.

Here’s the solution the company created:

“We decided to create a Slackbot that runs within GCP Cloud Run and logs the audit trail to GCP Cloud Logging. We will leverage Google Groups for provisioning access and Cloud Identity as the mechanism for managing temporary membership. Cloud Identity will add and remove the user from the group for us, so we don’t have to manage any state (which is amazing to avoid sync issues and edge cases). This is particularly interesting because now we can provide temporary access to third-party applications if they can map access to Google Groups (outside of our use case but maybe in the future).”

👁 Image

👁 Image

Solution 2: Google’s Open Source Solution

Google’s Just-In-Time Access is an open source application that lets you implement just-in-time privileged access to Google Cloud resources. The application lets administrators, users and auditors do the following tasks:

  • Administrators can grant a role to a user or group and make the role eligible by adding the following identity and access management (IAM) condition: `has({}.jitAccessConstraint)`
  • Users can search for projects and roles that they’re eligible to access by using the Just-In-Time Access application. The following screenshots from the Just-In-Time Access application show a list of roles that a user is eligible for in a project:

👁 Image
They can then activate one or more roles and provide a justification for getting access:

👁 Image

After a user has activated a role, Just-In-Time Access grants the user temporary access to the project.

Auditors can use Cloud Logging to review when and why eligible roles have been activated by users.

To protect the application against unauthorized access, the Just-In-Time Access application can be accessed only over Identity-Aware Proxy (IAP). Using IAP, an administrator can control which users should be allowed to access Just-In-Time Access, and which additional conditions those users must satisfy to get access.

Solution 3: Out-of-the-Box Tools

Free solutions such as Apono provide plug-and-play authorization workflows so companies don’t need to start from scratch. Apono serves as the intermediary that connects identities with entitlements, enabling access on a just-in-time, temporary basis. Apono’s privilege authorization capability provides a reliable and streamlined approach to permission management and mitigates the consequences of a GCP (or any other cloud application) permissions-related breach, without compromising user experience and productivity.

👁 Image

The image below features an access flow that allows developers to get temporary read-only access to production when needed:

👁 Image

Remember that managing access control effectively is a critical aspect of maintaining the security and integrity of your GCP resources. Regularly review and audit your roles and permissions to ensure they align with your evolving requirements.

👁 Image

The Bottom Line

Navigating on-demand access in GCP can be intricate, but with the right tools and strategies, organizations can strike a balance between security and efficiency. Whether you opt for a DIY approach, use Google’s open source solutions or try out-of-the-box tools, the goal remains consistent: to provide secure, streamlined and manageable access to resources.

About Apono

Apono is a cloud native, centralized self-service access management platform that keeps organizations secure with simple and precise just-in-time permissions across the DevOps domain. Apono takes just minutes to deploy and integrates with your existing cloud services, Kubernetes, data repositories and other R&D applications. With Apono, view existing permissions and enable dynamic contextual access workflows directly from Slack, Teams or CLI.

Try it for yourself and check out the documentation page for in-depth information, use cases and more.

Apono keeps organizations secure with simple and precise just-in-time permissions across the DevOps domain. Completely self serve and taking minutes to deploy, Apono helps DevOps teams view existing permissions and easily enable dynamic contextual access workflows directly from Slack, Teams, or CLI.
Learn More
The latest from Apono
TRENDING STORIES
Sharon Kisluk is the lead product manager at Apono, responsible for the company’s short- and long-term strategic product initiatives. She brings over 10 years of experience as a technologist and product builder. Prior to Apono, Sharon was held numerous product...
Read more from Sharon Kisluk
Apono sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.