gke-security

Configure GKE cluster security with IAM, RBAC, and Secret Manager.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/ssmleo/govfolio --skill gke-security-ssmleo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-security
Source: https://github.com/ssmleo/govfolio/tree/main/.agents/skills/gke-security
Command: npx skills add https://github.com/ssmleo/govfolio --skill gke-security-ssmleo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-cloud-container, gcloud, kubectl, rbac-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides robust security configurations for GKE clusters, including identity and access management, workload identity federation, RBAC hardening, and more, ensuring a secure and compliant environment.

Core Features & Use Cases

  • GKE Security Posture: Enforces hardening configurations to safeguard against common vulnerabilities.
  • Identity and Access Management (IAM): Sets up Workload Identity for secure pod-level authentication to Google Cloud services.
  • RBAC Hardening: Disables insecure RBAC bindings and sets up namespace-scoped Roles for better access control.
  • Secret Manager Integration: Automates the creation and rotation of Kubernetes Secrets using Secret Manager.
  • Binary Authorization: Empowers you to enforce policies around production images to improve trust in your containers.

Quick Start

Secure your GKE cluster by running 'gke-security'.

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 for secure pod authentication in GKE?

This Skill configures Workload Identity in GKE by setting up IAM bindings for secure pod-level authentication to Google Cloud services. It maps Kubernetes service accounts to Google Cloud identities, eliminating static credential risks.

What is the best way to harden RBAC and enforce namespace-scoped access control in GKE?

The best way to harden RBAC in GKE is disabling insecure bindings and setting up namespace-scoped Roles. This Skill automates RBAC hardening to ensure better access control across your cluster environments.

How do I integrate Secret Manager to automate Kubernetes Secrets rotation in GKE?

To integrate Secret Manager with GKE, this Skill automates the creation and rotation of Kubernetes Secrets. It bridges Google Cloud Secret Manager with your cluster workloads for secure credential management.

Can I use Binary Authorization to enforce production image policies in GKE?

Yes, you can enforce Binary Authorization policies in GKE for production images. This Skill configures Binary Authorization to verify container trust and prevent unauthorized deployments.

Do I need kubectl and gcloud to apply Network Policies and IAM configurations to a GKE cluster?

Yes, you need kubectl, gcloud, google-cloud-container, and rbac-cli dependencies to apply Network Policies and IAM configurations. This Skill requires an existing Google Kubernetes Engine environment to execute its security scripts.

Why set up Network Policies in Google Kubernetes Engine clusters?

Setting up Network Policies in Google Kubernetes Engine clusters safeguards against common vulnerabilities by controlling pod communication. This Skill enforces these hardening configurations to provide a secure, compliant cluster setup.