<?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: Is there a way to refresh tokens issued on behalf of service principal? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34793#M25512</link>
    <description>&lt;P&gt;@Alex Michel​&amp;nbsp;- My name is Piper and I'm one of the moderators for Databricks. Welcome to the community and thank you for your question! Let's give it a while longer to see how the community responds. If nothing is forthcoming, we'll circle back around to this.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 16:43:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-19T16:43:03Z</dc:date>
    <item>
      <title>Is there a way to refresh tokens issued on behalf of service principal?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34792#M25511</link>
      <description>&lt;P&gt;I want to be able to refresh tokens generated on behalf of a service principal via Token Management API, just like with any other service where OAuth is used and refresh token endpoint is available. &lt;/P&gt;&lt;P&gt;Allowing indefinite or very long expiration for access tokens is not a great solution and would raise concerns during compliance audits, while shorter expiration means automation pipelines will stop working often, requiring admin user to login via SSO and call the API again to generate a new token. &lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 05:23:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34792#M25511</guid>
      <dc:creator>amichel</dc:creator>
      <dc:date>2021-11-19T05:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to refresh tokens issued on behalf of service principal?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34793#M25512</link>
      <description>&lt;P&gt;@Alex Michel​&amp;nbsp;- My name is Piper and I'm one of the moderators for Databricks. Welcome to the community and thank you for your question! Let's give it a while longer to see how the community responds. If nothing is forthcoming, we'll circle back around to this.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:43:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34793#M25512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-19T16:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to refresh tokens issued on behalf of service principal?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34794#M25513</link>
      <description>&lt;P&gt;Refresh option would be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Azure you could use Azure automation to make "refresh" script: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;delete if still exists&lt;/LI&gt;&lt;LI&gt;create  token via: "databricks tokens create" &lt;/LI&gt;&lt;LI&gt;put it to Azure Key Vault with expiration data&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 20 Nov 2021 16:07:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34794#M25513</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-11-20T16:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to refresh tokens issued on behalf of service principal?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34795#M25514</link>
      <description>&lt;P&gt;Thanks @Hubert Dudek​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your fast response.&lt;/P&gt;&lt;P&gt;So the idea is to simulate refresh by using the token to authenticate to the api, create new token  and then delete itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue with Azure specifically, is that Create Service Principal Api in Azure requires Azure AD SP to be created in the first place via app registration, which in turn requires elevated permissions in AAD and using Azure AD Api, not pure Databricks Api     &lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 05:00:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-refresh-tokens-issued-on-behalf-of-service/m-p/34795#M25514</guid>
      <dc:creator>amichel</dc:creator>
      <dc:date>2021-11-23T05:00:31Z</dc:date>
    </item>
  </channel>
</rss>

