Files
backstage/packages/cli-module-auth
Patrik Oldsberg da8e6603a4 Clean up unreleased API surface
Since cli-module-auth and cli-module-actions are not yet released,
remove deprecated exports instead of keeping them. Also make httpJson
and getSecretStore internal to cli-node, duplicating the small httpJson
wrapper locally in each consuming package.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 20:53:10 +01:00
..
2026-03-17 20:53:10 +01:00
2026-03-17 20:53:10 +01:00

@backstage/cli-module-auth

CLI module that provides authentication commands for the Backstage CLI, enabling login, logout, and credential management for Backstage instances.

Commands

Command Description
auth login Log in the CLI to a Backstage instance
auth logout Log out the CLI and clear stored credentials
auth show Show details of an authenticated instance
auth list List authenticated instances
auth print-token Print an access token to stdout (auto-refresh if needed)
auth select Select the default instance

Documentation