Pcornel
Automation · Automation Security

Service Accounts

Cheat sheet · https://pcornel.dk/topic.php?topic=5903

Back to the Topic

Answer

Service Accounts are non-human identities used by automation and must have explicit ownership, purpose, authentication method, privilege, lifecycle and auditability rather than being treated as permanent shared administrator identities.

Remember

  • Non-human account ≠ safe account.
  • Service account name ≠ known owner.
  • Password never expires ≠ reliability best practice.
  • No interactive login observed ≠ interactive login prevented.

First checks

  • Get-ADServiceAccount -Filter * — gMSAs
  • Service account inventory with owners — governance
  • Interactive logon denied — hardening

Verify in this order

automation → service account → target

Where it usually breaks

Service-account evidence proves identity lifecycle and observed use; it does not prove all target permissions are appropriate unless effective authorization is separately reviewed.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5903

Confirmation

Confirm action

Continue?