env0

Connect Your VCS

env0 needs access to your relevant git repositories, in order to read your Terraform code.

If your git repository is public, or if you use GitHub as your VCS, you can go on to Create Your First Template.

If your git repository is private, authentication can be done in one of two ways - using SSH or HTTPS.

Connect using SSH

Generate SSH keys and add them to your VCS.

This is vendor-specific and you can read more about this here -

Add the SSH key to your organization,

  1. Enter your Organization Settings page, and go to the SSH Keys tab

SSH Keys Screen

  1. Click + Add SSH Key
  2. Choose any name that will help you recognize this key in the future in the SSH Key Name box
  3. Paste the private key you generated in step 1, into the SSH Key Value box
  4. Click Add SSH Key

Add new SSH Key Dialog

Connect via HTTP/S Tokens

Generate an access token in your VCS

This is vendor-specific and you can find further instructions here -

Add the token to your organization

  1. Enter your Organization Settings, and go to the Credentials tab

Git Tokens Screen

  1. In the Git Tokens section, click + Add Token
  2. Enter any name that will help you recognize this token in the future in the Name box
  3. Enter the token value in the Value text box.
  4. Click Add

Add new Git token

Updated about a month ago


What's Next

That’s it! You’ve configured access to your private git repository. Next up you will tell env0 exactly where to find your Terraform code

Create Your First Template

Connect Your VCS


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.