dcloud eks access-entries update

Change an access entry’s Kubernetes username or extra groups

IAM eks:UpdateAccessEntryChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud eks access-entries update cluster id [flags]

Arguments

  • <cluster>Required

    string

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

  • <id>Required

    string

    Also accepted as --id.

Flags

  • --usernameOptional

    string

    Kubernetes username the entry’s tokens carry, prefixed ews: by the cluster (RBAC sees ews:<username>); 1–100 letters, digits and : . _ @ -, not starting system:. null clears it (tokens then carry the IAM user name of whoever gets them); unchanged when absent

    Constraints: 1-100 chars, /^[A-Za-z0-9][A-Za-z0-9:._@-]*$/

    May be null.

  • --kubernetes-groupsOptional

    array of string

    Extra Kubernetes groups the entry’s tokens carry, for your own RBAC bindings; at most 20, each 1–100 letters, digits and : . _ @ -, not starting system: or ews:. Replaces the list; [] clears it; unchanged when absent

    Constraints: 1-100 chars, /^[A-Za-z0-9][A-Za-z0-9:._@-]*$/

Example

dcloud eks access-entries update cluster id

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