This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gitlabapitoken1 [2025/07/02 16:16] – admin | gitlabapitoken1 [2025/07/09 20:20] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Personal Access Token====== | + | ======Personal Access Token (PAT)====== |
- | Create a PAT at the Git service where you have an account. It must have permission to create Webhooks along with the ability to create repositories and add Deploy Keys. Enter the PAT here to list repositories, | + | Create a PAT at the Git service where you have an account. It must have permission to create Webhooks along with the ability to create repositories and add Deploy Keys. Enter the PAT in the box at the //Manage// page, to list repositories, |
Currently, Git Winch can work with accounts at GitLab, GitHub, Gitea. | Currently, Git Winch can work with accounts at GitLab, GitHub, Gitea. | ||
Line 9: | Line 9: | ||
And in the .ini file you must make sure that the //GitSys=// must be given one of the 3 values: //Github or Gitea or Gitlab// | And in the .ini file you must make sure that the //GitSys=// must be given one of the 3 values: //Github or Gitea or Gitlab// | ||
- | **Encrypted Version of this PAT**\\ | + | **//You should NEVER EVER share the PAT itself with anyone!//**\\ |
Sometimes, an owner may not want to do all the work of creating of a repository and adding/ | Sometimes, an owner may not want to do all the work of creating of a repository and adding/ | ||
- | The problem now is that if the manager is given this PAT directly, that would be a security risk for the owner: The said manager can get free access to the entire Git Host of the owner. Also, the manager may end up sharing that key to someone else who can wreak havoc. | + | The problem now is that if the manager is given this PAT directly, that would be a security risk for the owner: The said manager can get free access to the entire Git Host of the owner. Also, the manager may end up sharing that key to someone else who can wreak havoc. **//So, never share a PAT!//** |
+ | |||
+ | **Encrypted Version of this PAT**\\ | ||
+ | //We have a solution on how to delegate work to manager:// | ||
+ | |||
+ | **Right click on this PAT input box** (once you; as an owner, has written the correct PAT in there). //Git Winch// will now encrypt that PAT for you. | ||
+ | |||
+ | You would be asked for the // | ||
+ | |||
+ | Then you (again, assuming you are the owner) can send that encrypted PAT to the manager. By email/ | ||
- | We have solution: Right click on this PAT edit box, and you would be asked for the // | + | The manager, now can use that encrypted key to do the work on behalf of the owner, from inside //Git Winch.// The owner is assured that the PAT is reasonably protected and there are now lesser chances that the owner' |
Read more how the [[/ | Read more how the [[/ |