Git Repositories
You can find "Git Repositories" in the top "Security" menu when a project is selected.
Git repository secrets allow you to configure access to your private repositories. When creating a service, you can use these secrets to mount volumes that pull code from your configured repositories.
Deploy Key Authentication
If your Git platform supports deploy keys (like GitHub), you can configure repository access using SSH keys:
- Generate a deploy key in in GitHub
- Add the public key and repository URL to your repository's deploy keys
- Use the secret when creating a service volume
Username/Password Authentication
If your Git platform doesn't support deploy keys, you can still configure repository access using credentials:
- Create a username/password secret
- Fill in the form with your repository URL and credentials
- Use this secret when creating a service volume
For better security, it's recommended to create dedicated credentials with read-only access to your repositories.
Table of Contents