Generating a session

Virtual Storage Platform One SDS Block System Administrator Guide

Version
1.15.x
Audience
anonymous
Part Number
MK-24VSP1SDS001-02

A token for session authentication is generated and the following information about the session is displayed. Session authentication is possible with the generated token.

Role-based execution is not subject to restriction.

  • token: Token

  • sessionId: Session ID

  • userId: User ID

  • userObjectId: User object ID

  • expirationTime: Session expiration time

  • createdTime: Date and time when the session is generated

  • lastAccessTime: Date and time when the session was used last

  • roleNames: List of roles assigned to the user who retains this session

  • vpsId: ID of the VPS to which the user who generated the session belongs

  • privileges: List of the VPS information that the user who generated the session can access

  • When adding sessions in a VPS: Scope of the VPS

Generate a session.

You can specify the time [sec] until a session times out.

REST API: POST /v1/objects/sessions

CLI: session_create

After running the command, you receive a response indicating session information.