Help Center/ Huawei Cloud Astro Zero/ FAQs/ Management Center/ How Do I Query or Set the Session Duration (Validity Period) of a Huawei Cloud Astro Zero User?
Updated on 2025-08-14 GMT+08:00

How Do I Query or Set the Session Duration (Validity Period) of a Huawei Cloud Astro Zero User?

Description

After a user logs in to Huawei Cloud Astro Zero, the user automatically logs out after timeout. Where can I query or set the session validity period?

Solution

  1. On the user or portal user details page, view the permissions of the user.

    • For the System Administrator Profile, the default period is 30 minutes and cannot be changed.
    • If other profiles are assigned, go to 2.

  2. The session validity period is controlled by the access credential duration of the assigned profile. The access credential and refresh credential must be both default or custom.

    • Users (developer accounts of Huawei Cloud Astro Zero, who manage applications and portal users):

      Generally, only administrators with the System Administrator Profile can modify the access credential duration in the user permissions. Users can only view, but cannot change the access credential duration.

      Figure 1 Page for editing the profile
    • Portal users: The session validity period is controlled based on the access credential duration of the first profile in the permission set on the portal user details page. If no profile is set, the access credential duration of the Portal User Profile is used.
      Figure 2 Portal user details page