How often do I have to login to my OpsCompass CLI?

Seamless Session Maintenance: Keep Your OpsCompass CLI Session Active for Up to 1 Year with regular usage.

The OpsCompass CLI utilizes access and refresh tokens for authentication and session maintenance. Here's how it works:

  • Access Tokens are short lived credentials for API requests, these are valid for 24 hours after authentication
  • Refresh Tokens extend an access tokens validity, and remain valid for 30 days. 
  • The CLI stored tokens and automatically includes them within every request.
  • Use the CLI every 30 days to maintain the session for up to 1 year.

The OpsCompass CLI provides convenient and secure access to OpsCompass APIs using access and refresh tokens. Remember to use the CLI regularly to maintain your session and follow security best practices.