Comparison route

Single service comparison

Back to main page

DevSecOps Governance

Binary Authorization

Google Cloud Binary Authorization is a deploy-time governance service that enforces signed-attestation policies before container images can run on GKE, Cloud Run, or Distributed Cloud. It binds CI provenance, vulnerability scan state, and approver signatures to a centralized policy, then blocks admission when conditions fail. The operating model is policy-as-code evaluated at the platform admission layer, independent of the build pipeline, with separation of duties enforced through IAM on attestors.

Google Cloud logo

Google Cloud

Service information

Binary Authorization iconBinary Authorization

Shortname: Binary Authorization

Huawei equivalent shortnames: CodeArts Governance

Keywords: security, governance, devsecops, policy

Differences vs Huawei

Huawei's CodeArts Governance is an open-source software governance service focused on license compliance and component risk identification across the codebase, not a deployment admission gate. Its boundary is the software composition analysis (SCA) layer of the SDLC, evaluated at build/repository time. Binary Authorization instead operates at the cluster admission controller: it verifies cryptographically signed attestors against a platform policy and blocks pod creation on GKE/Cloud Run. The scope, trigger point, and enforcement entity differ materially — CodeArts Governance informs; Binary Authorization denies.

Binary Authorization's data model is attestor-backed: policy rules reference attestors (PKIX/KMS or PGP), attestation payloads (in-toto/SLSA-style), and image digests from Artifact Registry. Huawei has no single equivalent schema. CodeArts Pipeline can gate stages on quality/security check results, and SWR (Software Repository for Container) provides image vulnerability scanning, but neither exposes Binary Authorization's attestor/attestation data model nor its first-class REST policy API (binauthz). Architects cannot assume API parity; a side-by-side control-plane and data-plane audit is required before cutover.

Scaling and operational responsibility diverge: Binary Authorization is a regional Google-managed control plane with no HA configuration to own and integrates natively with GKE admission webhooks, Cloud Build provenance, and Artifact Analysis. On Huawei the equivalent behavior must be composed from SWR scanning, CCE admission controllers (or policy engines like OPA/Gatekeeper on self-managed clusters), and CodeArts Pipeline gates, each with its own reliability, quota, and regional availability profile. The customer bears integration, secret/attestor KMS placement, and webhook availability — operational responsibility that is invisible on GCP.

Migration to Huawei

Run a capability-gap assessment first: catalogue Binary Authorization policies, attestor keys (Cloud KMS vs PGP), provenance sources (Cloud Build, third-party CI), and target platforms (GKE, Cloud Run). Do not assume CodeArts Governance is a like-for-like replacement — it governs open-source risk, not deploy authorization. Define the target architecture as a composition: SWR image scanning + CCE admission control + CodeArts Pipeline quality gates, and validate each component covers a required Binary Authorization policy rule before proceeding.

Map and rebuild the policy layer rather than translating it. Binary Authorization YAML policies and the REST API have no direct Huawei equivalent; re-express each rule as a SWR scan policy, a CodeArts Pipeline gate condition, or a CCE admission control rule. Migrate cryptographic attestor workflows carefully — Huawei KMS (KPS/DEW) and Cloud KMS differ in key types and signing API; re-issue attestor keys rather than copying, and rebuild provenance generation in the Huawei CI (CodeArts Build) since Cloud Build provenance format will not transfer.

Validate enforcement and observability before cutover. Reproduce blocked-deploy scenarios and confirm CCE denies non-compliant images; verify audit coverage via Cloud Trace Service and LTS since Binary Authorization's Cloud Audit Logs and Cloud Monitoring metrics have no single Huawei counterpart. Test admission webhook failure modes — on Huawei you own webhook availability, whereas GCP guarantees the managed control plane. Schedule a phased cutover per cluster/pipeline rather than a flag flip, and keep the GCP policy as fallback during validation.

Expect a substantial cost-model and operability change. Binary Authorization is billed on deployed nodes/pods denying passes per region; the composed Huawei path spans SWR scan volume, CodeArts Pipeline executions, KMS API calls, and your own admission-controller infrastructure. Recalculate TCO including webhook HA, attestation storage retention, scan re-runs on policy edits, and cross-region image promotion traffic. Reserve engineering effort for the integration glue, which is the dominant hidden cost versus GCP's managed service.

Huawei Cloud logo

Huawei Cloud

Huawei equivalent service

CodeArts Governance iconCodeArts Governance

Shortname: CodeArts Governance

General function: DevSecOps Governance

Governance and policy controls for software delivery.

Keywords: governance, compliance, devsecops