02-06-2023 11:17 PM
Hi Team,
Need assistance to understand Databricks workspace service principle token expire calculation.
Issue : when I am creating a token I have given lifetime =3600, but when I doing get token I am getting unexpected expiry number and even when I am substrate creation_time - expiry_time getting very big numer as attached screenshot.
Requirement: actually need to notify, when the token going to expire in 5days. If we gave lifetime as 90days(in sec's). Can you please help to achieve this requirement ASAP.
Thanks and regards,
Vinayak
02-07-2023 10:46 PM
Hi, Please refer https://kb.databricks.com/en_US/security/set-an-unlimited-lifetime-for-service-principal-access-toke...
Please let us know if this helps.
02-08-2023 03:51 AM
Hi Debayan,
Thanks for the reply and it is useful.
But the actual requirement is if we create a token with lifetime 90days, then as a databricks admin I want to notify the user as the token is expiring in next 5 days like that. Can you please help me to find some solution for this
Kindly let me know if need any additional details/clarification.
Thanks and Regards,
Vinayak s.
02-14-2023 10:45 AM
Hello Team,
Is there any solution?
Kindly respond.
Thanks and Regards,
Theja Boddhaluru
02-10-2023 07:14 AM
Hi Team,
Please help on my issue,
Is there any way to find expiry of token, i mean still how much time have token to expiry.
creation_time - expiry_time is not giving me exact output.
Kindly let me know if there is any way to find as soon as possible
Thanks in advance,
Regards,
Vinayak.s
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now