# Cis Eks V180 4.1.12

> Minimize access to the service account token creation (Manual)

- Skill: `cyberstrikeus/cis-eks-v180-4-1-12` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-eks-v180-4-1-12`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-eks-v180-4-1-12/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-eks-v180-4-1-12

---


# 4.1.12 Minimize access to the service account token creation (Manual)

## Profile Applicability

- Level 1

## Description

Users with rights to create new service account tokens at a cluster level, can create long-lived privileged credentials in the cluster. This could allow for privilege escalation and persistent access to the cluster, even if the users account has been revoked.

## Rationale

The ability to create service account tokens should be limited.

## Audit Procedure

Review the users who have access to create the `token` sub-resource of `serviceaccount` objects in the Kubernetes API.

```bash
kubectl get clusterroles -o json | jq -r '.items[] | select(.rules[]? | select(.resources[]? == "serviceaccounts/token")) | .metadata.name'
```

## Remediation

Where possible, remove access to the `token` sub-resource of `serviceaccount` objects.

## Default Value

By default, the cluster-admin ClusterRole has access to create service account tokens.

## References

1. https://kubernetes.io/docs/concepts/security/rbac-good-practices/#token-request

## CIS Controls

| Controls Version | Control                                           | IG 1 | IG 2 | IG 3 |
| ---------------- | ------------------------------------------------- | ---- | ---- | ---- |
| v8               | 6.8 Define and Maintain Role-Based Access Control |      |      | ●    |

## Profile Applicability

- Level 1

