Forum Discussion

PallaviReddy's avatar
PallaviReddy
New Member
5 months ago
Solved

Git Integration with Fabric Workpsace

Hi, Hope you are doing well! I need to integrate Microsoft Fabric workspace with GitHub, which requires creating a GitHub Personal Access Token (PAT).Which PAT should I use. If I go on vacation...
  • Cookistador's avatar
    5 months ago

    Hello  PallaviReddy
    The easiest way to avoid this issue is to not go on holiday 🙂

    But there is an alternative, first you should use a fine-grained token  (according to microsoft doc)

    use a GitHub Service Account (Bot Account) with a generic email address like: [email protected]

    Then generate the PAT from this account with the longer expiry date

    Now all of your team member has to connect their workspace using that shared PAT

     

    The benefits of this approach:

    • PAT is not tied to any individual's vacation/departure
    • Expiry is predictable and can be rotated by anyone with access to the bot account
    • Auditable and revocable independently of any person