Tutorial 4: Privileged Access and Service Identities

Unit 3 ยท Identity and access management

Objectives

Privileged access can change controls, read broad data, or create identities. Separate daily and administrative accounts, require strong authentication, use just-in-time elevation, and record sensitive actions. Service identities should be narrowly scoped, non-human, and independent of personal accounts.

request elevation -> approve -> short-lived role
perform action -> audit actor, target, reason, result -> expire

Never solve automation by granting a service account database administrator rights. Define exact operations, resource scope, network conditions, and rotation. Break-glass paths need dual control, alerts, and retrospective review.

Exercises

  1. Design just-in-time access for a production database.
  2. Scope a service account for report generation.
  3. Define audit fields for an administrative action.

Self-check

  1. What is standing privilege?
  2. Why use short-lived elevation?
  3. What should an audit event contain?

Self-Check Quiz

1. Why avoid shared administrator accounts?

AnswerThey weaken accountability, make revocation difficult, and hide which person performed an action.

2. What should service identity permissions be based on?

AnswerThe minimum concrete operations and resources required by the service's function.

Homework

  1. Review privileged access in a three-tier enterprise system.
  2. Propose just-in-time and break-glass controls.
  3. Write a service-account permission policy.
Sample answerHuman administrators use separate accounts, phishing-resistant MFA, approval, time-limited roles, command logging, and alerts. A report service receives read-only access to specific views, uses a managed identity, cannot alter schemas, and rotates automatically.