All Products
Search
Document Center

Identity as a Service:ListAuthenticationTokens

Last Updated:Jun 10, 2026

Menampilkan daftar token otentikasi.

Deskripsi operasi

This API uses an Access Token issued by IDaaS for identity authentication and authorization.

Ensure that the Access Token you provide has the Query authentication tokens permission for the built-in Privileged Access Management (PAM) application in IDaaS.

Catatan

The required scope is urn:cloud:idaas:pam|authentication_token:read.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

GET /v2/{instanceId}/authenticationTokens HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

ID instans.

idaas_ue2jvisn35ea5lmthk267xxxxx

Parameter permintaan

Parameter

Type

Required

Description

Example

Authorization

string

Yes

Informasi otentikasi. Format: Bearer ${access_token}.

Catatan

Masukkan token akses yang diterbitkan oleh IDaaS.

Bearer xxxxxx

nextToken

string

No

Token yang menandai awal halaman berikutnya dalam kueri terpaginasi.

NTxxxxxexample

maxResults

integer

No

Jumlah maksimum entri yang akan dikembalikan dalam kueri terpaginasi ini.

20

consumerId

string

Yes

ID konsumen token otentikasi.

app_ngtkgrrxxxxktg5eao6z4xxxxx

credentialProviderIdentifier

string

Yes

Pengidentifikasi penyedia kredensial.

test_example_identifier

revoked

boolean

No

Apakah token otentikasi telah dicabut.

false

expired

boolean

No

Apakah token otentikasi telah kedaluwarsa.

false

Elemen respons

Element

Type

Description

Example

object

Paged query result.

entities

array<object>

List of resource entities.

object

Authentication token details.

instanceId

string

Instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

authenticationTokenId

string

Authentication token ID.

atntkn_01kqflm0sxxx8nmdc1cb5dskxxxxx

credentialProviderId

string

Credential provider ID.

atp_01kr2cmj5gxxx4fvmls2e93dxxxxx

createTime

integer

Creation time of the authentication token, as a UNIX timestamp in milliseconds.

1649830225000

updateTime

integer

Last update time of the authentication token, as a UNIX timestamp in milliseconds.

1649830225000

authenticationTokenType

string

Authentication token type. Valid values:

  • jwt: JWT authentication token

  • oauth_access_token: OAuth Access Token authentication token

jwt

revoked

boolean

Indicates whether the authentication token is revoked.

false

creatorType

string

Type of the authentication token creator. Valid values:

  • application: Application

application

creatorId

string

ID of the authentication token creator.

app_ngtkgrrxxxxktg5eao6z4xxxxx

consumerType

string

Type of the authentication token consumer. Valid values:

  • application: Application

  • custom: Custom type

custom

consumerId

string

ID of the authentication token consumer.

test_jwt_subject

expirationTime

integer

Expiration time of the authentication token, as a UNIX timestamp in milliseconds.

1772693568000

totalCount

integer

Total number of resource entities that match the query criteria.

100

nextToken

string

Token returned by this call. Use it for the next paged query to get the next page.

NTxxxexample

maxResults

integer

Maximum number of records returned in this query.

20

Contoh

Respons sukses

JSONformat

{
  "entities": [
    {
      "instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
      "authenticationTokenId": "atntkn_01kqflm0sxxx8nmdc1cb5dskxxxxx",
      "credentialProviderId": "atp_01kr2cmj5gxxx4fvmls2e93dxxxxx",
      "createTime": 1649830225000,
      "updateTime": 1649830225000,
      "authenticationTokenType": "jwt",
      "revoked": false,
      "creatorType": "application",
      "creatorId": "app_ngtkgrrxxxxktg5eao6z4xxxxx",
      "consumerType": "custom",
      "consumerId": "test_jwt_subject",
      "expirationTime": 1772693568000
    }
  ],
  "totalCount": 100,
  "nextToken": "NTxxxexample",
  "maxResults": 20
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.