archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 52 forks source link

PAT and Primary Password #218

Open jbsarrodie opened 6 months ago

jbsarrodie commented 6 months ago
          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 commented 6 months ago

@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.

beno commented 6 months ago

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

Phillipus commented 6 months ago

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