hi team, is there a way to either (a) generate tok...
# ingestion
b
hi team, is there a way to either (a) generate tokens that last longer than 6 months or (b) programmatically generate tokens without needing another token for validation? for example querying graphql with curl, I need to still provide an access token for programmatic token generation with
--header 'Authorization: Bearer <...>
. my current hack has been to store a generated token from the UI and use it to generate a new token before expiration and replace the old one 🥴
i
Hello Abdullah, Currently your hack is the expected way to have long-lasting access tokens. We have it in our immediate backlog to provide a solution for your exact use-case! Whether it will be auto-rotation of tokens or some sort of service api key is still to be discussed but we are going to work on this in the coming weeks!
thankyou 1
❤️ 1
Cc @big-carpet-38439
l
Indeed, have a static API key is necessary for automation.
b
But dangerous
b
@big-carpet-38439, I am generating an non-expiring PAT but it still shows " The token will expire on 1/5/2023 at 110559 PM." Anything I am missing here? Thanks!