Security, topic 43 of 61
Service accounts
A service account is an identity for workloads. Each Pod runs as one, default unless told otherwise, and gets a short-lived token for it, mounted as a file, which RBAC then authorizes.
Give each application its own service account with only the permissions it needs, and set automountServiceAccountToken: false for Pods that never call the API. Clouds map service accounts to cloud roles, so a Pod can reach a bucket without a stored key.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Service accountsOfficial