cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Azure Databricks PATs expire even before validity

NOOR_BASHASHAIK
Contributor

Hi all,

we have this issue in our environment - even thought we give 365 days validity for Databricks PATS generation, the PATs expire every now and then. Is there any problem with the command we use :

curl --location --request POST 'https://<<HOST_NAME>>/api/2.0/token/create' \--header 'Authorization: Bearer <<ACCESS_TOKEN_VALUE>> \

--header 'Content-Type: application/json' \

--data-raw '{

"comment": "This is an example token",

"lifetime_seconds": 31536000

}'

1 ACCEPTED SOLUTION

Accepted Solutions

karthik_p
Esteemed Contributor

@NOOR BASHA SHAIKโ€‹ It looks you are providing 365 days, can you please post your response. if you won't provide any lifetime then it should be valid indefinitely. can you please add 90 days validity and test

View solution in original post

1 REPLY 1

karthik_p
Esteemed Contributor

@NOOR BASHA SHAIKโ€‹ It looks you are providing 365 days, can you please post your response. if you won't provide any lifetime then it should be valid indefinitely. can you please add 90 days validity and test

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group