Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

secretshardul avatar image
secretshardul asked Erick Ramirez answered

What is the lifetime duration of Astra's DevOps token?

I'm fetching the DevOps token using this endpoint:

https://api.astra.datastax.com/v2/authenticateServiceAccount

It's documented that the StarGate API token generated from api/rest/v1/auth expires after 30 minutes of inactivity. What about the DevOps token?

astra
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

The DataStax Astra auth token remains active as long as it requests are constantly being made. Otherwise, it expires after 30 minutes from the last time it was used.

For more info, see Generating an authorization token for Astra. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.