Skip to main content
env zero 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, GitLab, or Bitbucket 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
Organization Settings SSH Keys tab showing the interface for managing SSH keys

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 box with fields for SSH Key Name and SSH Key Value

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
Organization Settings Credentials tab showing Git Tokens section

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 dialog box with fields for Name and Value

Add a new Git token