I am working with a client who has a MongoDB Atlas project and has provided me access to their project. I am manually monitoring the database by connecting to their Atlas environment.
Initially, I used the command:
“atlas auth login
”
It worked fine, and I was able to authenticate successfully. However, after some time, I encountered the following error:
“session expired, try login, run atlas auth login
”
I would like to understand:
- What is the default session expiration time when using
atlas auth login
? - Is there any way to increase this session duration?
- Are there alternative ways to prevent frequent session expirations while using the Atlas CLI for monitoring?
Looking forward to guidance on this.