(仅适用于 UDCA 和同步器)如果对项目的权限检查失败,验证会继续根据 Apigee 环境的 IAM 政策检查权限。这些 SA 的范围为环境,且环境支持更精细的权限。
如需更新特定环境的 IAM 政策,请转到 Hybrid 界面。转到管理 > 环境 > 访问权限
例如,以下是一个失败的权限检查的错误消息:
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.
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-27。"],[[["This documentation is for Apigee hybrid version 1.3, which is end-of-life, and users should upgrade to a newer version."],["Apigee hybrid includes a service account validation feature enabled by default, that ensures correct key locations and proper permissions in the GCP project."],["To enable validation of the service account's permissions, the Cloud Resource Manager API must be enabled in the GCP project, and the `validateServiceAccounts` property must be set to `true` in the overrides file."],["Service account JSON key format validation is always performed and cannot be disabled, while permission validation can be turned off by setting `validateServiceAccounts` to `false`."],["Service account permission validation checks permissions first on the project ID and, if that fails, proceeds to check permissions against the Apigee environment's IAM policy for UDCA and Synchronizer components."]]],[]]