gke-security

Configure GKE cluster security with Workload Identity, RBAC, and IAM roles.

17.1k|1.4k|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/google/skills --skill gke-security-google
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-security
Source: https://github.com/google/skills/tree/main/skills/cloud/gke-security
Command: npx skills add https://github.com/google/skills --skill gke-security-google

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the security concerns of Google Kubernetes Engine (GKE) clusters, providing comprehensive guidance for configuring and hardening GKE security settings.

Core Features & Use Cases

  • Security Configuration: Offers detailed instructions for configuring GKE security features like Workload Identity Federation, Secret Manager integration, RBAC hardening, Binary Authorization, Network Policies, Pod Security Standards, and IAM roles.
  • Best Practices: Delivers best practices for GKE security, including setting up Workload Identity, configuring RBAC, and managing secrets.
  • Use Case: For IT administrators looking to implement a strong security posture for their GKE clusters, this Skill provides a step-by-step guide to securing GKE, setting up Workload Identity, and hardening RBAC configurations.

Quick Start

Use the gke-security skill to apply the golden path security defaults to your GKE cluster.

Frequently Asked Questions about gke-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Workload Identity Federation for my GKE cluster?

Configure Workload Identity Federation for GKE clusters by linking Kubernetes service accounts to IAM roles. This approach secures workloads by eliminating the need to manage long-lived service account keys, reducing credential exposure.

What is the best way to harden RBAC permissions in Google Kubernetes Engine?

Harden RBAC permissions in Google Kubernetes Engine by applying least privilege principles to role definitions. This limits cluster resource access, ensuring service accounts and users only receive the exact permissions required for their tasks.

How do I integrate Secret Manager with GKE workloads?

Integrate Secret Manager with GKE workloads to securely inject secrets at runtime. This prevents storing sensitive data in Kubernetes ConfigMaps or base64-encoded Secrets, leveraging IAM for strict access control over secret values.

Can I enforce Binary Authorization and Pod Security Standards on existing GKE clusters?

Enforce Binary Authorization and Pod Security Standards on existing GKE clusters to verify container images and restrict pod capabilities. These configurations ensure only trusted images deploy and workloads run with limited privileges.

Does setting up Network Policies in GKE require specific IAM roles?

Setting up Network Policies in GKE requires specific IAM roles to manage cluster networking resources. Configuring these policies isolates workloads by controlling ingress and egress traffic flow between namespaces and pods.

Do I need prior GKE knowledge to apply these security best practices?

Applying these GKE security best practices requires prior knowledge of GKE and cloud security concepts. IT administrators use this guidance to implement golden path security defaults, configuring IAM, RBAC, and Workload Identity effectively.