title: How to pass secrets to poetry
body: <p>I want to reference a dependency in a private git repository which normally would look like this in the <code>pyproject.toml</code>:</p>
  <pre><code>[tool.poetry.dependencies]
  ...
  my-module = { git = &quot;https://username:password@gitlab.com/something&quot;, branch = &quot;branch&quot; }
  </code></pre>
  <p>My question is how can I inject the password through environment variables or any other way I can use in my CICD. AFAIK poetry doesn't support environment variables, so basically looking for a workaround if you've been in the same situation.</p>