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:

  1. Generate a deploy key in in GitHub
  2. Add the public key and repository URL to your repository's deploy keys
  3. Use the secret when creating a service volume

git deploy key

Username/Password Authentication

If your Git platform doesn't support deploy keys, you can still configure repository access using credentials:

  1. Create a username/password secret
  2. Fill in the form with your repository URL and credentials
  3. Use this secret when creating a service volume

git login password

For better security, it's recommended to create dedicated credentials with read-only access to your repositories.