multicluster

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Command multicluster is an example auth handler that maintains a separate credential per instance (cluster/server), keyed by hostname. It demonstrates the per-instance capabilities and request fields:

  • auth.CapHostname -- Login honors LoginRequest.Hostname
  • auth.CapTokenHostname -- GetToken honors TokenRequest.Hostname
  • auth.CapInstanceHostname -- GetStatus/Logout honor their request Hostname
  • auth.CapCallbackPort -- Login reads LoginRequest.CallbackPort

Each hostname selects an independent session, so a single handler can serve many clusters (e.g. as a kubectl/oc exec credential plugin) without one cluster's token leaking into another's requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL