REST Resource: projects.locations.clusters.tokenAuthUsers

Resource: TokenAuthUser

Represents a token based auth user for the cluster.

JSON representation
{
  "name": string,
  "state": enum (State)
}
Fields
name

string

Identifier. The resource name of the token based auth user. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{tokenAuthUser}

state

enum (State)

Output only. The state of the token based auth user.

State

Represents the different states of a token based auth user. New values may be added in the future.

Enums
STATE_UNSPECIFIED Not set.
ACTIVE The auth user is active.
CREATING The auth user is being created.
UPDATING The auth user is being updated.
DELETING The auth user is being deleted.

Methods

addAuthToken

Adds a auth token for a user of a token based auth enabled cluster.

delete

Deletes a token auth user for a token based auth enabled cluster.

get

Gets a specific token auth user for a basic auth enabled cluster.

list

Lists all the token auth users for a token based auth enabled cluster.