IAP lets you secure different types of workloads across
Google Cloud, on-premises environments, and multicloud architectures. Select a
setup guide based on the resources that you want to protect and your specific
use case. IAP supports the following use cases:

- **[Secure your agents](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#secure-agents)**: govern access for AI agents, tools, and endpoints using Agent Gateway in Gemini Enterprise Agent Platform.
- **[Secure your web applications](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#secure-web-apps)**: verify user identity and enforce access policies for HTTPS applications running on Google Cloud, on-premises, or in another cloud.
- **[Secure other TCP traffic](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#secure-tcp)**: tunnel SSH, RDP, and other TCP traffic over HTTPS to resources without public IP addresses.

If you're new to IAP and you want to learn how authentication
and authorization work before setting it up, see the
[IAP overview](https://docs.cloud.google.com/iap/docs/concepts-overview.md.txt).

## Secure your agents

IAP enforces Identity and Access Management (IAM) allow and deny
policies for AI agents through Agent Gateway in
Agent Platform. You can govern both ingress
requests to agents and egress requests from agents to other agents, tools, and
endpoints.

To get started with securing AI agents, see
[IAP for agents overview](https://docs.cloud.google.com/iap/docs/agent-overview.md.txt).

## Secure your web applications

IAP lets you establish a central authorization layer for
applications accessed by HTTPS, so you can verify user identity and context
before requests reach your application.

Depending on where your application is hosted, you can set up
IAP for a
[Google Cloud runtime platform](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#runtime-platform) or for
[on-premises and multicloud environments](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#on-premises-multi-cloud), and then
[configure identities and access](https://docs.cloud.google.com/iap/docs/set-up-iap.md.txt#configure-identities).

### Set up your Google Cloud runtime platform

Select the setup guide that matches where your web application runs:

- **App Engine:** [Enabling IAP for App Engine](https://docs.cloud.google.com/iap/docs/enabling-app-engine.md.txt)
- **Cloud Run:** [Enable IAP for Cloud Run](https://docs.cloud.google.com/iap/docs/enabling-cloud-run.md.txt)
- **Compute Engine:** [Enable IAP for Compute Engine](https://docs.cloud.google.com/iap/docs/enabling-compute-howto.md.txt) or [Set up IAP for Compute Engine tutorial](https://docs.cloud.google.com/iap/docs/tutorial-gce.md.txt)
- **Google Kubernetes Engine (GKE):** [Enabling IAP for GKE](https://docs.cloud.google.com/iap/docs/enabling-kubernetes-howto.md.txt)
- **External HTTPS load balancer:** [Set up an external HTTPS load balancer](https://docs.cloud.google.com/iap/docs/load-balancer-howto.md.txt)

### Set up on-premises and multicloud applications

To learn how IAP protects applications that are hosted
outside of Google Cloud, see the
[Overview of IAP for on-premises apps](https://docs.cloud.google.com/iap/docs/cloud-iap-for-on-prem-apps-overview.md.txt).

To protect HTTP-based applications that are hosted outside of Google Cloud
or to protect Cloud Storage buckets, select the setup guide that matches your
workflow:

- [Enable IAP for on-premises apps](https://docs.cloud.google.com/iap/docs/enabling-on-prem-howto.md.txt)
- [Enable IAP for Cloud Storage buckets](https://docs.cloud.google.com/iap/docs/enabling-gcs-cloud-run.md.txt)

### Configure identities and access

After you enable IAP on your application, select the guides
that match how you want to grant access to principals and configure your
identity provider:

- **Google Accounts and IAM access:**

  - [Manage user access](https://docs.cloud.google.com/iap/docs/managing-access.md.txt)

  - [Manage access with Google Accounts](https://docs.cloud.google.com/iap/docs/authenticate-users-google-accounts.md.txt)

  - [Restrict access to specific domains](https://docs.cloud.google.com/iap/docs/allowed-domains.md.txt)

- **External identities:**

  - [External identities overview](https://docs.cloud.google.com/iap/docs/external-identities.md.txt)

  - [Configure IAP with Workforce Identity Federation](https://docs.cloud.google.com/iap/docs/use-workforce-identity-federation.md.txt)

  - [Manage IAP sessions for Workforce Identity Federation](https://docs.cloud.google.com/iap/docs/manage-iap-wif-sessions.md.txt)

  - [Enable Identity Platform](https://docs.cloud.google.com/iap/docs/enable-external-identities.md.txt) and
    [Manage access with Identity Platform](https://docs.cloud.google.com/iap/docs/authenticate-users-external-identities.md.txt)

- **Custom OAuth clients:**

  - [Use custom OAuth clients with IAP](https://docs.cloud.google.com/iap/docs/custom-oauth-configuration.md.txt)

  - [Share OAuth clients](https://docs.cloud.google.com/iap/docs/sharing-oauth-clients.md.txt)

  - [Enable IAP using a Google-managed OAuth client](https://docs.cloud.google.com/iap/docs/managed-oauth-client.md.txt)

- **Programmatic access and custom sign-in:**

  - [Set up programmatic authentication](https://docs.cloud.google.com/iap/docs/authentication-howto.md.txt)

  - [Create a custom sign-in page](https://docs.cloud.google.com/iap/docs/create-custom-auth-ui.md.txt)

## Secure other TCP traffic

IAP for TCP forwarding wraps SSH, RDP, and other TCP traffic
in HTTPS. Authorized users can connect to internal VMs and services without
public IP addresses or a VPN. For more information about how TCP forwarding
works, see [TCP forwarding overview](https://docs.cloud.google.com/iap/docs/tcp-forwarding-overview.md.txt).

Set up the following TCP forwarding use cases:

- [Use IAP for TCP forwarding](https://docs.cloud.google.com/iap/docs/using-tcp-forwarding.md.txt)
- [Use TCP forwarding with IP addresses or hostnames](https://docs.cloud.google.com/iap/docs/tcp-by-host.md.txt)
- [Secure TCP forwarding with VPC Service Controls](https://docs.cloud.google.com/iap/docs/securing-tcp-with-vpc-sc.md.txt)
- [Use SSH for Cloud Run](https://docs.cloud.google.com/iap/docs/ssh-cloud-run.md.txt)

## What's next

After you set up IAP for your workload, you can enforce
fine-grained security policies and centralize governance:

- [Set up context-aware access](https://docs.cloud.google.com/iap/docs/cloud-iap-context-aware-access-howto.md.txt)

- [Use authorization policies](https://docs.cloud.google.com/iap/docs/auth-policies.md.txt)

- [Secure your app with signed headers](https://docs.cloud.google.com/iap/docs/signed-headers-howto.md.txt)

- [Enable Cloud Audit Logs](https://docs.cloud.google.com/iap/docs/audit-log-howto.md.txt)

- [Use organization policies for IAP enablement](https://docs.cloud.google.com/iap/docs/org-policies.md.txt)

- [Customize advanced IAP settings](https://docs.cloud.google.com/iap/docs/customizing.md.txt)