Supported versions:
Unsupported versions:
Apigee hybrid provides validation that ensures the location of your service accounts' keys are correct and that the accounts have the proper permissions in your GCP project. This validation is enabled by default.
This section describes how to enable or disable service account validation. In addition, this step ensures that you have the proper APIs enabled for your GCP project so that validation works.
To enable permission validation:
You can also enable the API using gcloud:
gcloud services enable cloudresourcemanager.googleapis.com --project GCP_project_ID
validateServiceAccounts property and set it to
true. For example:
... # Enables strict validation of service account permissions. validateServiceAccounts: true ...
When validation is enabled, any time apigeectl applies the Apigee hybrid runtime components to your cluster, it validates the service account keys that are included in your overrides file.
If validation fails, the runtime deployment stops and apigeectl exits.
To troubleshoot service account failure, it's helpful to know that validation checks
permissions in this order:
To update the IAM policy for a specific environment, go to the hybrid UI. Go to Admin > Environments > Access
For example, the following is an error message for a failed permission check:
Invalid Metrics Service Account. Service Account "apigee-metrics@hybrid-project.iam.gserviceaccount.com" is missing 1 or more required permissions [monitoring.metricDescriptors.create monitoring.metricDescriptors.get monitoring.metricDescriptors.list monitoring.monitoredResourceDescriptors.get monitoring.monitoredResourceDescriptors.list monitoring.timeSeries.create]. Visit Service accounts and roles used by hybrid components for more details on setting up Apigee hybrid service account permissions.
To address this error, add the required roles to the service account. For information on creating and modifying service accounts, see Create the service accounts. To check the required permissions for each Apigee hybrid component, see Service accounts and roles used by hybrid components.
To disable service account permission validation, set the validationServiceAccounts
property in your overrides file to false, as the following example shows:
... # Enables strict validation of service account permissions. validateServiceAccounts: false ...
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-09 UTC.