Service accounts¶
Service accounts are for non-interactive workloads that need client credentials or certificate-backed access.
Common tasks¶
- create the service account
- grant the minimum required permissions
- rotate the client secret
- attach or replace certificates when your trust model requires them
- disable or delete unused credentials
Good operating habits¶
- separate service accounts by workload, not by team convenience
- grant only the service permissions each workload needs
- rotate secrets on a predictable schedule
- disable dormant accounts instead of leaving them permanently active
Validation¶
After creating or rotating credentials:
- request a token
- call the intended downstream API
- confirm the old credential no longer works when rotation is complete