Hacker News new | ask | show | jobs
by PhageGenerator 12 days ago
The best password is the one you don't know.

Too many times I have had services break because a service account password expired or was changed without updating the relevant services becuase the service account was reused and not documented.

gMSA accounts solve these problems becuase the password is managed automatically, no need to manually update a service after you set it to run under a gMSA.

This also prevents service account misuse, only specific servers are allowed to access the password.

1 comments

The Windows' idea that service accounts must have passwords seems like craziest thing to me.

I grudgingly admit that between unrelated security domains, the passwords ("API keys") are the easiest thing to use, although I much prefer machine OIDC where possible.

But within the same security boundary? Or even worse, on the same machine? The whole idea of password is just stupid. If I want to run service as user "mysvc", I write "User=mysvc", and that's it, the machine should trust itself.

At least I now know that gMSA is a thing, which is a great news.