Kibotos
API 参考kibotos.ctrl.v1

DataPlaneSessionService

本页列出 kibotos.ctrl.v1 中 DataPlaneSessionService 的方法及每个方法用到的消息与枚举,由 ctrl.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.ctrl.v1 类型。

ctrl API使用 Operator 证书调用。调用方式

DataPlaneSessionService issues short-lived credentials for one available workspace. Credentials are returned only by issuance responses and are never accepted in a protobuf request field.

CreateDataPlaneSession

POST/kibotos.ctrl.v1.DataPlaneSessionService/CreateDataPlaneSession一元调用
请求CreateDataPlaneSessionRequest
响应CreateDataPlaneSessionResponse
  • credentialstring= 2

    credential is an opaque bearer value. Callers must not inspect, log, or place it in URLs. Retries with the same command return the same value.

DataPlaneSession

DataPlaneScope

  • DATA_PLANE_SCOPE_UNSPECIFIED= 0
  • DATA_PLANE_SCOPE_FILE_READ= 1
  • DATA_PLANE_SCOPE_FILE_WRITE= 2
  • DATA_PLANE_SCOPE_PROCESS= 5
  • DATA_PLANE_SCOPE_SERVICE_CONNECT= 6
  • DATA_PLANE_SCOPE_DESKTOP= 7

DataPlaneSessionLifetime

DataPlaneSessionLifetime selects how long an issued session stays valid.

  • DATA_PLANE_SESSION_LIFETIME_UNSPECIFIED= 0

    Bounded by requested_ttl and the server maximum (default 5 minutes, at most 15 minutes).

  • DATA_PLANE_SESSION_LIFETIME_EXECUTION= 1

    Bound to the current execution and valid for at most one hour, cut short by the Workspace's deadline when that comes first. The data plane rejects the credential as soon as the execution ends, but the hour still bounds a leaked credential, a revoked caller, and a signing key rotation, so a caller that caches it renews it before it expires. Requires expected_generation; requested_ttl must be zero. Announced by the workspace.session.execution capability.

本页内容