Get local key issuance capability

Check whether the environment permits issuing TaaS local token keys.

GET https://billing.moi.matrixorigin.cn/api/v1/taas/token-keys/capabilities

Before you begin

Prepare a personal access token. For creation and management, see Manage personal access tokens.

Results are scoped to data accessible to the current user.

Request example

Replace $MOI_PERSONAL_ACCESS_TOKEN in the example with your personal access token.

curl --get "https://billing.moi.matrixorigin.cn/api/v1/taas/token-keys/capabilities" \
  -H "X-API-Key: $MOI_PERSONAL_ACCESS_TOKEN"

Successful response

Returns HTTP 200 with the current local key issuance setting.

{
  "local_user_token_keys_enabled": false
}

Field

Type

Description

local_user_token_keys_enabled

boolean

Whether issuing, updating, rotating, and re-enabling TaaS local keys is allowed. Existing keys can still be read, revoked, or deleted when disabled.

This switch applies to TaaS local keys. Personal access tokens and service-account keys have separate issuance controls.

Last updated on