- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 10:13 AM
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
}'
- Labels:
-
Authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 10:40 AM
@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