cancel
Showing results for 
Search instead for 
Did you mean: 
Monomaco
Mission Specialist
Mission Specialist
  • 2,528 Views

EX288 Git Token Authentication.

Hi, from the console lab, suddenly, when I want to push any source to my git account I need to use a token auth, it's because GitHub policy for accounts it's changed since August 13. I've to generated a token and use it wheter I want to push a source. I would like to know how I can use this token in my remote exam because I've to paste this long string in the password.

Thanks.

Labels (1)
3 Replies
kuldeeppandey
Mission Specialist
Mission Specialist
  • 2,288 Views

you can provide $(oc whoami -t) for p option

 

Regards,

Kuldeep

Monomaco
Mission Specialist
Mission Specialist
  • 2,277 Views

Sorry, but that command only give you your oc security token not your token Git. I think they're differents. When I did the examn, last december, I hadn't to use the token git in the end, it's only for the labs.

Thanks a lot for your time.

ricardodacosta
Moderator
Moderator
  • 2,228 Views

This is the correct answer. The exams don't have external internet access so you won't be able to use GitHub.com or similar services outside of the exam environment. If git repositories are to be used, they will be provided within the testing framework and the credentials will be supplied to you, by us.

Join the discussion
You must log in to join this conversation.