Use a Service Principal with Service Account PAT
Learn how to a Service Principal & a Personal Access Token (PAT) tied to the Service Account
When you configure access with a Personal Access Token (PAT), you may prefer to create a Service Principal with a PAT to use for authentication instead of using your account's PAT. You can create a Service Principal and generate a PAT on behalf of the Service Principal.