Private Git repositories
Access to private Git repositories can be managed from the Credentials section, accessible from the Credentials tab.
Tower provides support to connect to private repositories from the popular Git hosting platforms GitHub, GitLab, and BitBucket.
All credentials are securely stored using advanced encryption (AES-256) and never exposed by any Tower API.
To connect a private GitHub repository you need to enter a Name for the credentials, a Username and a Password or Access token.
It is recommended to use an access token instead of a using your password. Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using APIs. Step-by-step instructions to create a personal access token can be found here.
To connect a private GitLab repository you need to enter a Name for the credentials, a Username, Password and Access token.
A GitLab API access token that can be found in your GitLab account page. Make sure to select the
To connect a private BitBucket repository you need to enter a Name for the credentials, a Username and a BitBucket App password.
This step-by-step example shows how to create a BitBucket App password.
It is also possible to specify Git server endpoints for Tower Enterprise. For further information please refer this Tower Install Documentation page.