Skip to content

The managed Apache Flink service on the LakeSail platform is deprecated.

LakeSail is building Sail, an open-source computation framework in Rust to seamlessly integrate stream-processing, batch-processing, and compute-intensive (AI) workloads. The LakeSail platform will offer the managed solution for Sail. Existing PySpark and Flink SQL workloads can be migrated with ease. Please stay tuned and contact us if you are interested!

CreateServiceAccountKey

Creates a service account key.

post/api/org/v1/service-accounts/{sa}/keys

Path Parameters

  • sa required

    A service account ID.

    • Schema ResourceId
    • Type string
    • Minimum Length 1
    • Maximum Length 20
    • Pattern ^[A-Z0-9]+$

Query Parameters

This operation does not have query parameters.

Request Body

  • Schema ServiceAccountKeySpec
  • Type object
  • Properties
    • expiresAt optional

      The time when the service account key should expire.

      • Type string
      • Format date-time

Responses

201 Response

The service account key was created successfully.

  • Schema ServiceAccountKey
  • Type object
  • Properties
    • id required

      The service account key ID.

    • expiresAt optional

      The time when the service account key expires.

      • Type string
      • Format date-time
    • key required

      The service account key.

      • Type string
    • createdAt required

      The time when the service account key was created.

      • Type string
      • Format date-time
    • updatedAt required

      The time when the service account key was last updated.

      • Type string
      • Format date-time

400 Response

The requested operation cannot be performed because the request is malformed.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

401 Response

The requested operation cannot be performed because the request lacks valid authentication credentials.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

403 Response

The identity is not allowed to perform the requested operation for the resource involved.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

404 Response

The resource or dependent resources involved in the requested operation do not exist.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string

Default Response

The requested operation failed with an error.

  • Schema Error
  • Type object
  • Properties
    • message required

      An error message.

      • Type string