dcloud eks clusters token

A 10-minute Kubernetes API token for the cluster, as an ExecCredential

IAM eks:AccessKubernetesApiChanges state

Needs eks:AccessKubernetesApi AND an access entry on the cluster (403 otherwise). The token carries your Deutsche Cloud identity as `ews:<username>` and your access entries as groups; `aud` is the cluster id.

Synopsis

dcloud eks clusters token cluster

Arguments

  • <cluster>Required

    string

    Also accepted as --cluster. Constraints: /^(ewk-[0-9a-f]{12}|[a-z]([a-z0-9-]{0,38}[a-z0-9])?)$/

Example

dcloud eks clusters token cluster

Generated from the API description, the same one the API checks requests against and the CLI is built from.