SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
joelh
Calcite | Level 5

I'm on SAS EG 8.3 (.0.103) and trying to set up the git integration using a github.com repository on my own windows 10 machine as an end-user of SAS EG. 

 

It seems that this version of EG doesn't support github 2FA? Trying to close a repo with 2FA throws a

Cannot clone repository

Invalid user name or password. Please update your git profile with valid credentials.

And it works if you turn off 2FA on your github repo user.

 

Also, this version of EG still doesn't support SSH keys (for easy limit of access to specific repos and avoiding passwords)?

 

Do I need to use a dedicated github user without 2FA, to get be able to interact with the remote repo using git in EG 8.3, or is there another way to set this up? 

 

 

2 REPLIES 2
ChrisHemedinger
Community Manager

The solution here is to use a personal access token (PAT), which you define in GitHub. You can even assign a scope to it to limit the permissions.  The PAT acts just like a password -- but it can be easily revoked when needed without changing a password.  Here are a couple of slides from my SAS-Git webinar:

 

pat1.pngpat2.png

 

 

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1615 views
  • 1 like
  • 3 in conversation