<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Installing private python Azure DevOps repository without revealing personal access token in pyproject.toml in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/installing-private-python-azure-devops-repository-without/m-p/3114#M286</link>
    <description>&lt;P&gt;Hi @Aaron Kaijser​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Great to meet you, and thanks for your question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 06:50:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-16T06:50:22Z</dc:date>
    <item>
      <title>Installing private python Azure DevOps repository without revealing personal access token in pyproject.toml</title>
      <link>https://community.databricks.com/t5/data-engineering/installing-private-python-azure-devops-repository-without/m-p/3113#M285</link>
      <description>&lt;P&gt;I want to install a .whl file on my Databricks cluster which includes a private Azure DevOps repository as a dependency in its pyproject.toml file, i.e.:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;[project]
name = "test"
description = "test_description."
version = "0.1.0"
authors = [
  { name = "test", email = "test@test.nl" }
]
requires-python = "&amp;gt;=3.7"
dependencies = [
  "pandas",
  "aiohttp",
  "private_repo @ git+https://&amp;lt;PERSONAL_ACCESS_TOKEN&amp;gt;@dev.azure.com/company/project/_git/private_repo"
]
&amp;nbsp;
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works but as you can see I have to provide a DevOps &lt;B&gt;&lt;I&gt;personal access token&lt;/I&gt;&lt;/B&gt; in the pyproject.toml file, which I don't want, because this file is also visible to other people. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering whether there is a convenient way of hiding this in the pyproject.toml file and instead retrieve it dynamically from the Azure Key Vault. For example, in the Databricks notebooks we can use dbutils to access secret keys, like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;dbutils.secrets.get(scope="secret_scope", key="secret_key")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I guess in setup.py you could use dbutils to do so, but I am not sure how it works with a .toml file. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 09:52:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/installing-private-python-azure-devops-repository-without/m-p/3113#M285</guid>
      <dc:creator>Kaijser</dc:creator>
      <dc:date>2023-06-14T09:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Installing private python Azure DevOps repository without revealing personal access token in pyproject.toml</title>
      <link>https://community.databricks.com/t5/data-engineering/installing-private-python-azure-devops-repository-without/m-p/3114#M286</link>
      <description>&lt;P&gt;Hi @Aaron Kaijser​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Great to meet you, and thanks for your question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 06:50:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/installing-private-python-azure-devops-repository-without/m-p/3114#M286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-16T06:50:22Z</dc:date>
    </item>
  </channel>
</rss>

