<?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 need to fetch secrets from key vault in my local in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9166#M4629</link>
    <description>&lt;P&gt;Could you please look into this if I'm missing something. Getting the below error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;azure.core.exceptions.ServiceRequestError: Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using below function for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;def &lt;/I&gt;get_auth_creds(KVUri, keyVaultName, username, password):&lt;/P&gt;&lt;P&gt;    print(" loading credentials for local system ")&lt;/P&gt;&lt;P&gt;    credential = DefaultAzureCredential(connection_verify=&lt;I&gt;False&lt;/I&gt;, exclude_shared_token_cache_credential=&lt;I&gt;True&lt;/I&gt;)&lt;/P&gt;&lt;P&gt;    client = SecretClient(vault_url=KVUri, credential=credential)&lt;/P&gt;&lt;P&gt;    print("Retrieving your secret from {}.".format(keyVaultName))&lt;/P&gt;&lt;P&gt;    user = client.get_secret(username).value&lt;/P&gt;&lt;P&gt;    pwd = client.get_secret(password).value&lt;/P&gt;&lt;P&gt;    &lt;I&gt;return &lt;/I&gt;user, pwd&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2023 05:46:27 GMT</pubDate>
    <dc:creator>KVNARK</dc:creator>
    <dc:date>2023-02-17T05:46:27Z</dc:date>
    <item>
      <title>need to fetch secrets from key vault in my local</title>
      <link>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9166#M4629</link>
      <description>&lt;P&gt;Could you please look into this if I'm missing something. Getting the below error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;azure.core.exceptions.ServiceRequestError: Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using below function for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;def &lt;/I&gt;get_auth_creds(KVUri, keyVaultName, username, password):&lt;/P&gt;&lt;P&gt;    print(" loading credentials for local system ")&lt;/P&gt;&lt;P&gt;    credential = DefaultAzureCredential(connection_verify=&lt;I&gt;False&lt;/I&gt;, exclude_shared_token_cache_credential=&lt;I&gt;True&lt;/I&gt;)&lt;/P&gt;&lt;P&gt;    client = SecretClient(vault_url=KVUri, credential=credential)&lt;/P&gt;&lt;P&gt;    print("Retrieving your secret from {}.".format(keyVaultName))&lt;/P&gt;&lt;P&gt;    user = client.get_secret(username).value&lt;/P&gt;&lt;P&gt;    pwd = client.get_secret(password).value&lt;/P&gt;&lt;P&gt;    &lt;I&gt;return &lt;/I&gt;user, pwd&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 05:46:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9166#M4629</guid>
      <dc:creator>KVNARK</dc:creator>
      <dc:date>2023-02-17T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: need to fetch secrets from key vault in my local</title>
      <link>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9168#M4631</link>
      <description>&lt;P&gt;Hope everything is going great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 06:51:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9168#M4631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-18T06:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: need to fetch secrets from key vault in my local</title>
      <link>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9169#M4632</link>
      <description>&lt;P&gt;@Vidula Khanna​&amp;nbsp;Its done. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 16:06:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-to-fetch-secrets-from-key-vault-in-my-local/m-p/9169#M4632</guid>
      <dc:creator>KVNARK</dc:creator>
      <dc:date>2023-02-21T16:06:40Z</dc:date>
    </item>
  </channel>
</rss>

