Google Cloud Functions

Learn how to integrate Google Cloud Functions with Apono

Google Cloud Functions enables you to build and connect cloud services by writing single-purpose functions that are attached to events emitted from your cloud infrastructure and services.

Its serverless architecture frees you to write, test, and deploy functions quickly without having to manage infrastructure setup.

With this integration, you can connect your internal applications to Cloud Functions and manage access to those applications with Apono.

ℹ️

Apono currently supports the original version of Google Cloud Functions, 1st Gen.



Prerequisites

Before starting this integration, create the items listed in the following table.

Item Description
Apono Connector On-prem connection serving as a bridge between your Google Cloud Functions and Apono

Minimum Required Version: 1.4.1

Use the following steps to update an existing connector.
Cloud Function (1st Gen)Named function set up within Cloud Functions

To allow the Apono connector to call the Cloud Function, add the Cloud Functions Invoke and Cloud Functions Viewer roles to the apono-connector service account apono-connector-iam-sa for that Cloud Function.

See a sample recipe for creating a Cloud Function that works with Apono’s APIs.



Integrate the Google Cloud Function


Use the following steps to complete the integration:

  1. On the Catalog tab, click Cloud Function Custom Integration. The Cloud Function page appears.
  2. From the dropdown menu, select a connector.

    💡

    If the desired connector is not listed, click + Add new connector and follow the instructions for creating a GCP connector.


  1. Click Next. The Complete setup page appears.
  2. Enter a unique, alphanumeric, user-friendly Integration Name for identifying this integration when constructing an Access Flow.
  3. (Optional) For Access Details, provide a link to the application that the Cloud Function manages, such as https://good-portal.example.com.
  4. (Optional) In the Custom Parameters field, add key-value pairs to send to the Google Cloud Function. For example, you can provide a Google Function with a redirect URL that is used for internal provisioning access and passed as part of the action requests.
  5. Enter the Google Cloud Project ID associated with the Cloud Function.
  6. From the Region dropdown menu, select the region of the Google Cloud Function instance.
  7. Enter the name of the Google Function in Function Name.
  8. Click Connect.

Now that you have completed this integration, you can create access flows that grant permission to your internal application.