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.

  3. Click Next. The Complete setup page appears.

  4. Enter a unique, alphanumeric, user-friendly Integration Name for identifying this integration when constructing an Access Flow.

  5. (Optional) For Access Details, provide a link to the application that the Cloud Function manages, such as <https://good-portal.example.com>.

  6. (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.

  7. Enter the Google Cloud Project ID associated with the Cloud Function.

  8. From the Region dropdown menu, select the region of the Google Cloud Function instance.

  9. Enter the name of the Google Function in Function Name.

  10. Click Connect.

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