SOLVED

Can we create PAT for service accounts?

Brass Contributor

Hello,

 

We are facing lot of problems while using Personal access token of normal users. 

 

Consider if the token is expired and user is not in office or s/he left the job then all the resources working using this PAT becomes unstable. 

 

We have created service accounts in our organization AD which are synced with Azure Active directory as well. Now how to user that account to generate the PAT. Any suggestions please

 

Thank you.

3 Replies

@tanulbhasin 

Can you further elaborate on your definition on service accounts?

So, in an organization we generally 2 types of accounts
1. User account
2. Service account

User account is like normal people. Through which we login into our office laptop. If user leaves the company then account will terminate.

On the contrary, service accounts are like used in technical domains like making service to service call. These accounts are not like of normal people and their passwords can be shared across the teams. These are just part of AD but do not have any connection with real living human being. You can check with your company identity team. They will explain you the things in more detail.
best response confirmed by tanulbhasin (Brass Contributor)
Solution
Hey @tanullbhasin,
Service account is similar to a user account (with the concept of credential not being rotated etc)
So you can login via Service account into Devops and generate a PAT for it
1 best response

Accepted Solutions
best response confirmed by tanulbhasin (Brass Contributor)
Solution
Hey @tanullbhasin,
Service account is similar to a user account (with the concept of credential not being rotated etc)
So you can login via Service account into Devops and generate a PAT for it

View solution in original post