Summery

Group Managed Service Account (gMSA) is a special Active Directory account designed for services that need domain credentials. Active Directory manages and periodically rotates its password automatically, eliminating the need for administrators to configure and rotate it manually. Multiple authorized computers can use the same gMSA to run services. Access to retrieve its managed password is controlled through Active Directory permissions.

During pentesting, identifying which principals can retrieve a gMSA password may reveal credentials usable for authentication as that account.
You can use tools like gMSADumper.py to retrive those passwords.