liveBook · Manning

Platform cli

As explained in Effective Platform Engineering

A platform CLI is a command-line tool that streamlines authentication and access configuration for an engineering platform.

A platform CLI streamlines authentication and access configuration for an engineering platform. Instead of making users repeat device-flow requests with curl, it provides commands for discovering clusters, signing in through the customer identity provider, and generating Kubernetes credentials. section 7.4.6 section 7.5

A practical CLI workflow includes:

  • List available clusters and expose each cluster's endpoint, certificate authority data, and storage identifiers. section 7.4.6
  • Authenticate through an identity provider using a device code and a browser-based flow, then retain the resulting identity and refresh tokens. section 7.4.6

Developer access workflow

A developer runs `epectl list cluster`, executes `epectl login` to complete browser authentication, and runs `epectl get kubeconfig` before using kubectl against the selected EKS cluster.

How Effective Platform Engineering covers it

How deep it goes
Specifies commands, authentication behavior, cluster metadata, and kubeconfig contents without detailing a complete CLI architecture.
Examples
Uses cluster listing, login, kubeconfig retrieval, token output, and a generated OIDC kubeconfig as concrete artifacts.
What it assumes
Assumes familiarity with Kubernetes clusters, kubectl, kubeconfig, and identity-provider authentication while simplifying their daily access workflow.
What you can do after
Operate Kubernetes access through named CLI commands instead of manually repeating curl-based authentication and token-parsing steps.
How it connects
Connects identity providers, OIDC, Kubernetes, kubeconfig, kubectl, EKS clusters, and platform APIs.

This explainer was generated by Manning's knowledge graph from the text of Effective Platform Engineering. The section links point to the parts of the book it draws on.