archi-modelrepository-plugin
archi-modelrepository-plugin copied to clipboard
PAT and Primary Password
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
@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.
Ah, that wasn't clear to me. Thank you very much.
See https://github.com/archimatetool/archi-modelrepository-plugin/wiki/Setup-and-Configuration#authentication