--- title: "Getting Started with GCP Cloud Connection" slug: "fortanix-key-insight-getting-started-with-gcp-connection" updated: 2026-10-21T11:50:06Z published: 2026-10-21T11:50:06Z canonical: "support.fortanix.com/fortanix-key-insight-getting-started-with-gcp-connection" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Getting Started with GCP Cloud Connection ## 1.0 Introduction This article describes how to configure or onboard the GCP connection to Fortanix Key Insight to scan your cryptographic elements (keys and services). ## 2.0 Terminology Reference *For GCP connection concepts and supported features, refer to* [*GCP Connection Concepts*](/v1/docs/fortanix-key-insight-gcp-connection-concepts)*.* ## 3.0 Start the Connection Setup Before configuring a GCP connection, ensure you can access Fortanix Key Insight. For information about signing up for Fortanix Armor, creating an Armor account, and accessing Fortanix Key Insight, *refer to* [*Getting Started with Key Insight*](/v1/docs/fortanix-key-insight-getting-started). You can start the connection setup when you first access Fortanix Key Insight or after you have entered the application. - **First-time users**: When you access Fortanix Key Insight for the first time, the connection setup wizard is displayed automatically. Proceed to [*Section 5: Select Cloud Provider*](/v1/docs/fortanix-key-insight-getting-started-with-gcp-connection#50-select-cloud-provider) to select GCP and configure the connection. - **Existing users**: In Fortanix Key Insight, go to **Configuration** → **Connections** → **CLOUD** → **ADD CLOUD CONNECTION.** Proceed to [*Section 5: Select Cloud Provider*](/v1/docs/fortanix-key-insight-getting-started-with-gcp-connection#50-select-cloud-provider) to select GCP and configure the connection. ## 4.0 Prerequisites The following are the prerequisites before configuring a GCP connection on Fortanix Key Insight: ### 4.1 Set Up a GCP Role in the GCP Organization Before onboarding a GCP connection, perform the steps described in [*GCP Connection Scanning Configuration*](/v1/docs/fortanix-key-insight-gcp-connection-scanning-configuration) to set up the required GCP role in your GCP organization. ### 4.2 IP Whitelisting Requirements in GCP To enable secure and reliable communication between Fortanix Key Insight and your GCP cloud environment, certain network connections may need to be allowed. If IP whitelisting is required, retrieve the current Fortanix IP ranges from the [Fortanix SaaS IP Ranges](https://ip-ranges.fortanix.com/ip-ranges) endpoint and allow the applicable IP ranges in your firewall or network infrastructure. *For information about Fortanix SaaS IP ranges and how to determine the applicable IP addresses based on traffic direction, region, and service, refer to* [*Fortanix SaaS IP Whitelisting*](https://support.fortanix.com/v1/docs/fortanix-saas-ip-whitelisting). IP whitelisting is not mandatory. It is required only if there are network restrictions on your GCP projects for inbound traffic. ## 5.0 Select Cloud Provider Perform the following steps to select the scan type, connection type, and GCP cloud provider: 1. On the **Select Cloud Provider** step, select **Automated Scan** as the scan type. 2. Under **Select connection type**, select **Cloud Connections**. Under **Select cloud provider**, select **Google Cloud** Platform. 3. Click **NEXT**. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/GCP.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=Mk0HLEH%2Fg0LR2hfYgeF9iSLRr8urLBB8jH1bg%2F3I90E%3D) **Figure 1: Select the GCP cloud provider** ## 6.0 Set Up Authentication GCP supports secret-based and federated authentication methods to control how users and applications obtain credentials to access GCP services. ### 6.1 Configure Secret-Based Authentication This method uses a Google Cloud service account to authenticate Fortanix Key Insight with your GCP environment securely. You must provide the service account email and a private key to access GCP resources for scanning securely. Perform the following steps to add secret-based GCP authentication: 1. On the **Set Up Authentication** step, the **Secret based** authentication option is selected by default. 1. **Service Account Email:** Enter your service account email address. 2. **Private Key:** Enter the private key associated with the service account. *For more information on how to fetch these credentials, refer to* [*GCP Connection Scanning Configuration*](/v1/docs/fortanix-key-insight-gcp-connection-scanning-configuration)*.* 2. Click **NEXT**. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/image-1776687868367.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=0qsowIcrDI9q3WnPEZsmxYbDOV9bxQmOtXj4jTBaurc%3D) **Figure 2: Configure authentication in GCP** ### 6.2 Configure Federated Authentication - Client Credentials Flow An authentication method where users or workloads access GCP resources using existing credentials from an external identity provider (IdP), such as Ping Identity and PingFederate. This eliminates the need to store long-lived service account keys by using Workload Identity Federation and short-lived credentials. GCP commonly uses the following OAuth flows in federated authentication scenarios: **Client credentials flow**: Used for machine-to-machine communication. The application authenticates directly with the IdP using its client ID and secret to obtain tokens, with no user interaction required. Fortanix Key Insight supports configuring GCP connections using the **Client credentials flow** with **Kong** as the API Gateway and **Ping Identity** and **PingFederate** as supported IdPs. *For information on configuring the IdP and obtaining the required credentials, refer to the following:* - [*Set Up Kong API Gateway for GCP*](/v1/docs/fortanix-key-insight-set-up-kong-api-gateway-for-gcp) *(****API Gateway URL****)* - [*GCP Configuration Using Ping Identity as an OpenID Connect Identity Provider*](/v1/docs/fortanix-key-insight-gcp-configuration-using-ping-identity-as-an-openid-connect-idp) *(****Client ID****,* ***Client Secret****,* ***Well-known URL****, and* ***GCP Audience****)* - [*GCP Configuration Using PingFederate as an OpenID Connect Identity Provider*](/v1/docs/fortanix-key-insight-gcp-configuration-using-pingfederate-as-an-openid-connect-idp) *(****Client ID****,* ***Client Secret****,* ***Well-known URL****, and* ***GCP Audience****)* Perform the following steps to add an IdP configuration using the Client credentials flow: 1. On the **Set Up Authentication** step, select **Federated authentication**. 2. **Service account email:** Enter the service account email address.*For more information on how to obtain this value, refer to* [*GCP Connection Scanning Configuration*](/v1/docs/fortanix-key-insight-gcp-connection-scanning-configuration)*.* 3. **GCP Audience:** Enter the GCP Audience value. This value must match the **Default Audience** configured in your GCP environment. 4. In the **Select Configuration** section, click **ADD CONFIGURATION** to add a new IdP configuration. 5. In the **Add New Authentication Configuration** dialog box: ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 2.2.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=IF79SHQ%2BQsZbTuNMLSzB15rxagFu5Tj2p87BE6xy41Q%3D) **Figure 3: Add a configuration using Client Credentials flow** 1. **Client credentials flow**: Select this option to authenticate to GCP services using client credentials. 2. **Name**: Enter a name for the configuration. 3. **Client ID**: Enter the Client ID of your IdP. 4. **Client Secret**: Enter the Client Secret of your IdP. 5. **Well-known URL**: Enter the Well-known URL of your IdP. 6. **Scope(optional)**: Add custom scopes if required. 7. **Add API Gateway URL (Required for GCP connections)** (optional): Select this check box to enter the API gateway URL. This is the public URL of the API Gateway (for example, Kong Gateway) deployed in your environment. You can obtain this value from your API Gateway deployment or from the administrator managing the gateway. Example: `https://ki-kong.westus2.cloudapp.azure.com:8443/ping` 8. Click **AUTHORIZE** to complete the authorization. 6. After adding and selecting the IdP configuration, click **NEXT**. > [!NOTE] > NOTE > > - When adding or editing the configuration, an **Authorization Failed** error message may appear if authorization cannot be completed due to incorrect credentials, invalid scope, or other configuration issues. > - You can also add an IdP using the **Client credentials flow** by clicking **ADD CONFIGURATION** in the top-right corner of the **Authentication** page. *For more information on managing the Federated Authentication IdP configurations, refer to* [*Federated Authentication Identity Provider Configurations*](/v1/docs/fortanix-key-insight-federated-authentication-identity-provider-configurations)*.* > - Currently, GCP **does not support** configuring Federated authentication using the **Authorization code flow**. ## 7.0 Set Up Cloud Connections Perform the following steps on the **Set Up Cloud Connections** step: 1. Enter a GCP connection name. For example, **GCP connection**. 2. On the **Select scope** section: - **Organization:** Select this option if you want to onboard all GCP projects. 1. **Organization ID:** Enter your Organization ID**.***For more information on how to obtain the Organization ID, refer to* [*GCP Connection Scanning Configuration*](/v1/docs/fortanix-key-insight-gcp-connection-scanning-configuration). ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 3.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=Y%2F2NlpUJczu6%2F23ynTF2TP%2BNCnKi7aspk7obQoVksDU%3D) **Figure 4: Set up GCP connection** - **Project:** Select this option if you want to onboard a single GCP project. 3. Click **NEXT.** ## 8.0 Select GCP Projects Perform the following steps to select your GCP project(s): 1. On the **Select GCP Project** step: - If you selected **Organization** scope in the previous step, choose **Select All Projects in Your Organization** to onboard all projects in the organization, or manually select the projects you want to onboard. - If you selected **Project** scope, enter the **Project ID**. *For more information on how to fetch the Project ID, refer to* [*GCP Connection Scanning Configuration*](/v1/docs/fortanix-key-insight-gcp-connection-scanning-configuration)*.* 2. Click **NEXT**. > [!NOTE] > NOTE > > Fortanix Key Insight scans only the GCP metadata and does not access any GCP key material. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 4.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=jG5aQ%2FKFcGF5aI1nusc8f0KM85J2%2F%2BnOU31ZTWkJh9U%3D) **Figure 5: Select GCP projects** ## 9.0 Select Key Insight Policy The **System Defined Policy** is selected by default on the **Key Insight Policy** step. This policy is designed to facilitate the scanning of keys and services based on predefined key sizes and permitted operations, ensuring compliance with standard security configurations. Click **NEXT** to proceed. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 5.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=7rfATDa4fty2wEDaAtm0oPr1DcvfRNYy6mNY%2BRym6Fk%3D) **Figure 6: GCP Key Insight policy** Additionally, - Click **ADD POLICY** to add a new user-defined policy to the policy center. - Click ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/image(135).png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=9E2SblzToKifb62ZyA8d5y69xDI4daB%2ByIAbUvQVw%2FI%3D) to copy and modify a system-defined policy, converting it into a user-defined policy. *For more information on Fortanix Key Insight policies and features, refer to* [*Cryptographic Policy Management*](/v1/docs/fortanix-key-insight-cryptographic-policy-management)*.* > [!NOTE] > NOTE > > If you change or update the policy instead of the**System Defined Policy**, you must**Rescan**the GCP connection to apply the new policy. ## 10.0 Select External Key Source On the **Select External Key Source** step, you can integrate Fortanix Key Insight with an external key source such as Fortanix DSM to enable key correlation and improve key management. 1. Select any of the following options: - **Yes, connect now**: This option allows you to add the external key source for your GCP cloud connection to correlate keys using the **ADD EXTERNAL KEY SOURCE** feature. *For more information, refer to* [*Getting Started with External Key Source Connection*](/v1/docs/fortanix-key-insight-getting-started-with-external-key-source-connection)*.* After adding the Fortanix DSM connection, select it from the list. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 6.1.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=Ob3yja9YXJAg1FKxGWleadNN5ueov5BTOxTKhcnoNCA%3D) **Figure 7: Add external key source** - **No, I’ll connect later**: This option allows you to onboard the GCP connection without adding an external key source. You can add it later if needed. ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/KI GCP Step 6.2.png?sv=2026-02-06&spr=https&st=2026-11-23T05%3A25%3A30Z&se=2026-11-23T06%3A25%3A30Z&sr=b&sp=r&sig=SqyGhHMyuq1aOkg8qtHY%2BAzA6uWWVRif4LBddZJls60%3D) **Figure 8: Onboard GCP connection without an external key source** 2. Click **FINISH** to complete the GCP connection onboarding. > [!NOTE] > NOTE > > After onboarding the GCP connection: > > - View the GCP connection UI (**Overview, Assessment, Keys**, and so on). You can also **switch the region** at any time using the region switcher drop down located on the top navigation bar. When the region is changed, the UI updates automatically to show the data, connections, and scan results for that region. > > *For more information about the GCP connection UI, refer to* [*GCP Connection - User Interface Components*](/v1/docs/fortanix-key-insight-gcp-connection-user-interface-components)*.* > - Users with the**Account Administrator**and**Group Administrator**roles can manage (edit, delete, rescan) the connection from the**Configuration** → **Connections** → **CLOUD**. > - Deleting the GCP connection cannot be undone. > - A group with the same name will be created on the Fortanix IAM **Groups** page. *For more information, refer to* [*Fortanix Armor Identity and Access Management (IAM)*](/v1/docs/fortanix-armor-identity-and-access-management-iam)*.* ## 11.0 Troubleshooting *For information about common issues and troubleshooting steps when configuring Fortanix Key Insight in cloud environments, refer to* [*Cloud Connection Troubleshooting*](/v1/docs/fortanix-key-insight-cloud-connection-troubleshooting)*.* Fortanix Key Insight identifies encryption keys and data services across on-premises and hybrid multicloud environments, providing a unified dashboard for tracking key mappings and cryptographic security. It offers security and compliance teams data-driven insights to assess risks, align with best practices, and meet industry regulations. Iy also supports continuous risk mitigation and crypto-agility, adapting to evolving security needs, including preparation for the post-quantum era. Fortanix Armor is a comprehensive cybersecurity solution that protects data and applications across on-premises, hybrid, and multi-cloud environments. It integrates Fortanix solutions into a single unified product, securing data throughout its lifecycle. Built on the **Confidential Computing** **Platform**, it ensures real-time encryption of data at rest, in transit, and during processing. Additionally, it includes platform services such as Identity and Access Management (IAM), Key Management Service (KMS), and Audit and Monitoring to simplify security management.