Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Security in Yandex Cloud
  • Key security principles
  • Division of responsibility for security
  • Compliance
  • Security measures on the Yandex Cloud side
  • Security tools available to cloud service users
    • All sections on one page
    • Introduction
    • Authentication and access management
    • Session and cookie security
    • Monitoring and audit
    • Data encryption and protection
    • Integrations and third-party solutions
  • User support policy during vulnerability scanning
  • Security bulletins
  • Public IP address ranges

In this article:

  • Session and cookie security
  • Cookie lifetime is limited according to the information security policy of your organization
  1. Yandex 360 protection and safe use standard, version 1.0.0
  2. Session and cookie security
Written by
Yandex Cloud
Updated at September 17, 2025
  • Session and cookie security
    • Cookie lifetime is limited according to the information security policy of your organization

Session and cookie securitySession and cookie security

Cookie lifetime is limited according to the information security policy of your organizationCookie lifetime is limited according to the information security policy of your organization

Y360-2

You can select the time interval before employees need to log in again. By default, session cookie lifetime is unlimited. Set this value to comply with your organization's information security policy. You can do this with an API request. For more information on how to change session cookie lifetime, see this article.

Checking via the API

To check the current lifetime value of cookie sessions, use the DomainSessionsService_Get REST API method for the DomainSessionsService resource. The authTTL parameter in the response body gives the sessions' expiration time in seconds. If authTTL equals 0, the lifetime is unlimited.

Guides and solutions to use:

Set the cookie lifetime parameter to not more than 7 days (604,800 seconds). This will reduce the risks due to potentially compromised sessions and unauthorized access.

API

To update the cookie session lifetime value, use the DomainSessionsService_Update REST API method for the DomainSessionsService resource.

Response example:

{
"authTTL": 604800
}

Where authTTL is time in seconds (in this example, set to 7 days).

Was the article helpful?

Previous
Authentication and access management
Next
Monitoring and audit
© 2025 Direct Cursus Technology L.L.C.