Receber por email
← Voltar para o catálogo

kubernetes-workload-identity-review

Use esta skill para revisão de identidade de workload Kubernetes, cobrindo AWS IRSA (IAM Roles for Service Accounts), Azure Workload Identity, GCP Workload Identity Federation, e a projeção de volume de token ServiceAccount subjacente mais a confiança do emissor OIDC. Acione quando o usuário perguntar como um pod deve se autenticar em serviços de nuvem, se credenciais de longa duração em um Secret podem ser substituídas, ou se o OIDC.

19estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: Apache-2.0

Como adicionar

/plugin marketplace add Raishin/vanguard-frontier-agentic

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/kubernetes-workload-identity-review/svg)](https://www.skillteca.com.br/skills/kubernetes-workload-identity-review)
#ai

Skills relacionadas

Ver todas de DevOps e Infra →

Alerta por categoria

Receba novas skills de DevOps e Infra toda segunda

1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Kubernetes Workload Identity Review

Purpose

Review how pods authenticate to cloud services. Long-lived static credentials in Secrets are the largest unmanaged credential surface in most Kubernetes deployments. Workload identity replaces them with short-lived federated tokens via the cluster's OIDC issuer. The review covers ServiceAccount token projection, OIDC issuer trust policy, the cloud-provider IAM mapping, and the runtime check that the pod is actually using the federated token rather than falling back to a static credential.

Lean operating rules

  • Prefer live cluster evidence (kubectl get serviceaccount,pods -A -o yaml plus the cluster's OIDC issuer URL and the cloud-provider IAM trust policy) when the active client exposes it; otherwise fall back to official cloud-provider and Kubernetes documentation.
  • Separate confirmed facts from inference. If the OIDC issuer URL, IAM trust policy, or pod's projected token volume was not queried, say so.
  • Treat a Pod with both a workload-identity ServiceAccount AND a long-lived credential Secret mounted as a critical finding — credential precedence often falls back to the static credential, defeating the migration.
  • Treat an OIDC trust policy with StringEquals on aud but StringLike (wildcard) on sub as a critical finding — any ServiceAccount in the cluster can assume the role.
  • Treat automountServiceAccountToken: true on pods that don't use the Kubernetes API as a high finding — token is mounted and exfiltratable, even when not used.
  • Challenge ServiceAccount tokens with no audiences claim — projected tokens should target a specific cloud audience (sts.amazonaws.com, api://AzureADTokenExchange, https://iam.googleapis.com/projects/.../workloadIdentityPools/...).
  • Challenge token expiry windows longer than 1 hour — projected tokens should be short-lived.
  • Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.

References

Load these only when needed:

  • [Evidence path and tooling](references/mcp-and-evidence.md) — use when choosing live evidence, confirming OIDC issuer and IAM trust state, or switching to documentation mode.
  • [Workflow and output contract](references/workflow-and-output.md) — use when executing the full review, applying provider-specific stress checks, or formatting the final answer.
  • [Official sources](references/official-sources.md) — use when you need the detailed AWS / Azure / GCP / Kubernetes documentation list and grounded insights.

Response minimum

Return, at minimum:

  • the cloud provider (AWS, Azure, GCP, or generic OIDC) and evidence level,
  • the ServiceAccount → IAM identity binding (annotation, label, or trust policy claim) and whether it is correctly scoped,
  • the OIDC trust policy scope (aud, sub, iss) — must constrain to a specific ServiceAccount,
  • whether long-lived credentials still exist anywhere in the workload (Secret mounts, env vars, sidecars),
  • the safest next actions and rollback plan,
  • the assumptions or blockers that prevent stronger conclusions.
Compartilhar X LinkedIn