Method: projects.locations.clusters.tokenAuthUsers.authTokens.get

Mendapatkan token autentikasi tertentu untuk pengguna autentikasi token tertentu.

Permintaan HTTP

GET https://redis.googleapis.com/v1alpha1/{name=projects/*/locations/*/clusters/*/tokenAuthUsers/*/authTokens/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama token autentikasi untuk cluster yang mengaktifkan autentikasi berbasis token. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{tokenAuthUser}/authTokens/{authToken}

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Jika berhasil, isi respons akan memuat instance AuthToken.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/redis.read-write

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.