Last modified June 21, 2026

'muster auth' command reference

muster auth manages authentication to a remote, OAuth-protected aggregator. Use it to log in, check your current identity and token status, and log out. For how OAuth works in Muster, see the security overview.

Usage

muster auth <subcommand> [flags]

Subcommands

SubcommandDescription
loginAuthenticate to a Muster aggregator using OAuth
statusShow authentication status
whoamiShow the current authenticated identity
logoutClear stored authentication tokens

Flags

These flags apply to every auth subcommand:

NameDescription
--endpointEndpoint URL to authenticate to
--contextUse a named context. Reads MUSTER_CONTEXT when unset
--config-pathConfiguration directory. Defaults to ~/.config/muster
--quiet, -qSuppress non-essential output

login flags

NameDescription
--allLog in to the aggregator and every pending MCP server behind it
--serverName of an aggregator-managed MCP server to authenticate to
--silentAttempt silent re-auth using OIDC prompt=none. Needs IdP support, not available with Dex

logout flags

NameDescription
--allClear all stored tokens
--yes, -ySkip the confirmation prompt for --all
--server, -sName of an MCP server to disconnect

Examples

Log in to a remote aggregator and to every MCP server that still needs authentication:

muster auth login \
  --endpoint https://muster.<management-cluster>.<base-domain>/mcp --all

Authenticate to one downstream MCP server after the aggregator is connected:

muster auth login --server kubernetes