Remix.run Logo
▲ sirjaz 2 hours ago

The funny thing is that AD has all the capabilities that are discussed here. Even AWS recommends it for kubernetes as a service account using gmsa: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/...

▲sebazzz 2 hours ago | parent | next [-]

And you can use gMSA for IIS application pools as well. Completely passwordless.

▲prussian 2 hours ago | parent | prev [-]

I still don't understand the purpose of gMSA. It almost seems like an admission that password rotation policies are nonsense, so you hide the password rotation deep in Windows, or in the case of your link, a credential-fetcher. What exactly are we doing here? Am I the only one who thinks this is nuts?

▲PhageGenerator 2 hours ago | parent | next [-]

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.

▲breakwaterlabs an hour ago | parent | prev [-]

gMSAs solve several problems.

Password rotation is an issue because the necessity of using a credential incentivizes its insecure storage and low entropy so that ops teams can onboard new services. This in turn necessitates rotation to limit the danger of exposure or kerberoasting (bruteforcing the TGS).

gMSAs ensure that credentials

- Are frequently rotated with no coordination or admin involvement

- Are of sufficient entropy to be non-bruteforceable

- are infeasible to store insecurely

They also robustly solve the question of tracking use: the gMSA states where it may be used and what principals may retrieve the credential, secured with a machine password (which, itself, carries the above security properties).