how to set DBT_ENV_SECRET_GIT_CREDENTIAL

The problem I’m having

I am trying to pull DBt packages from a private Github repo and i need to pass github token to access the repo and install the package via dbt DEPS.

The context of why I’m trying to do this

What I’ve already tried

I am trying to deifne the git repo as below:

packages:
  - git: https://{{env_var('DBT_ENV_SECRET_GIT_CREDENTIAL')}}@github.com/dbt-labs/awesome_repo.git

Some example code or error messages

I am getting below error:

Env var required but not provided: 'DBT_ENV_SECRET_GIT_CREDENTIAL'