Your First ServiceAccount

Give a workload an identity of its own, find the token inside the running container, then take it away entirely.

Skill labbeginner~20 minPro

What you'll do

  • ✓Explain what a ServiceAccount is, and what it deliberately is not
  • ✓Run a Pod under a ServiceAccount you created
  • ✓Find the projected token inside a running container
  • ✓Stop a Pod from receiving a token at all

Lab outline

  1. 01Every request has an identity
  2. 02An identity you can withhold

Before you start

  • Comfortable creating Pods and namespaces with kubectl

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Kubernetes labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Your First ServiceAccount — Kubernetes lab | Kube Labs