Agent skill · security · google

gke-platform-security

Plans, configures, and hardens platform-level Google Kubernetes Engine (GKE) cluster security. Covers cluster add-ons (Secret Manager enablement), RBAC hardening (disabling insecure bindings, audit tools), Binary Authorization, Secrets Encryption (--database-encryption-key), Security Posture (--security-posture), enabling Shielded Nodes, GKE Sandbox cluster enablement, GKE IAM roles, and cross-service authentication IAM patterns. Use when securing cluster control planes, hardening GKE RBAC, enabling Shielded Nodes, enabling GKE Sandbox runtime, enabling cluster-wide security add-ons, or managing GKE IAM roles. Don't use for Workload Identity (use gke-workload-identity) or workload-level security (SecretProviderClass, PSS, NetPol, gVisor pod runtimeClassName; use gke-workload-security).

Why this skill is useful

Provides specific commands and configurations for hardening GKE cluster security that the AI wouldn't reliably generate on its own.

What it needs

Requires gcloud installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 15,831 stars on the source repository.

What this skill does

GKE Platform Security This reference covers platform-level security hardening and cluster configuration for Google Kubernetes Engine (GKE). For workload-level security controls (such as Workload Identity Service Account bindings, SecretProviderClass volume mounts, Network Policies, and Pod Security Standards), refer to the gke-workload-security skill. MCP Tools: gke:getcluster, k8s:checkk8sauth, k8s:getk8sresource, k8s:applyk8smanifest, gke:updatecluster Attribution MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDKMETRICSREQUESTATTRIBUTION="agent-skills/1.0 (skill:gke-platform-security)" and append agent-skills/1.0 (skill:gke-platform-security) to User-Agent headers. Golden Path Security Defaults Setting Golden Path Value Day-0/1 Notes -------------------------------------------------------------- --------------------------------------- ------- ----- workloadIdentityConfig.workloadPool <PROJECT>.svc.id.goog Day-0 Workload Identity Federation for cluster pods secretManagerConfig.enabled true Day-1 Google Secret Manager cluster add-on integration secretManagerConfig.rotationConfig enabled: true, rotationInterval: 120s Day-1 Automatic secret rotation at the cluster level rbacBindingConfig.enableInsecureBindingSystemAuthenticated false Day-0 Blocks legacy system:authenticated bindings rbacBindingConfig.enableInsecureBindingSystemUnauthenticated false Day-0 Blocks legacy system:unauthenticated bindings nodeConfig.shieldedInstanceConfig.enableSecureBoot true Day-0 Verifiable boot integrity nodeConfig.shieldedInstanceConfig.enableIntegrityMonitoring true Day-0 Runtime integrity checks nodeConfig.workloadMetadataConfig.mode GKEMETADATA Day-0 Blocks legacy metadata API, enforces Workload Identity Private cluster + Dataplane V2 settings See the gke-networking skill Day-0 Private nodes, private endpoi …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills google/gke-platform-security

View the source on GitHub

Browse the @skills marketplace