archi-modelrepository-plugin icon indicating copy to clipboard operation
archi-modelrepository-plugin copied to clipboard

PAT and Primary Password

Open jbsarrodie opened this issue 11 months ago • 3 comments

          I have an issue trying to use coArchi with an Azure git repo and their Personal Access Tokens. It works for a while and after I guess 24h every Publish action pops up the 'enter primary password' dialog. This PAT is not expired, and nothing else has changed. I don't have the password stored in cleartext (obviously) so all I can do is regenerate it, but so far I have not been able to get it working again an all I see is the 'Enter password' dialog. Any tips? Thanks for the great work BTW.

Originally posted by @beno in https://github.com/archimatetool/archi-modelrepository-plugin/issues/152#issuecomment-1987921795

jbsarrodie avatar Mar 11 '24 09:03 jbsarrodie

@beno

The primary password is not your PAT, it is used to secure (encrypt) it in Archi so that nobody can ever get a copy of it. You have to enter your primary password at a regular frequency so that Archi checks you are who you pretend to be and loads your git passwords and PAT in memory.

jbsarrodie avatar Mar 11 '24 09:03 jbsarrodie

Ah, that wasn't clear to me. Thank you very much.

beno avatar Mar 11 '24 12:03 beno

See https://github.com/archimatetool/archi-modelrepository-plugin/wiki/Setup-and-Configuration#authentication

Phillipus avatar Mar 11 '24 12:03 Phillipus