Files
backstage/packages/cli-module-auth
Patrik Oldsberg 4d081452b1 Address review feedback from freben
- Use cli-defaults instead of listing individual CLI modules in
  create-app template and root package.json
- Move nodeTransform config files from cli-module-build to cli-node
  to avoid cross-module direct imports
- Rename cli-module-create-github-app to cli-module-github
- Start createCliModule init chain with Promise.resolve()
- Deduplicate exitWithError in runCliModule.ts
- Extract shared isCommandNodeHidden to @internal/cli
- Add explanatory comment for fromArray deduplication field
- Restore error for cli role packages missing bin in runCliExtraction

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-16 12:55:22 +01:00
..
2026-03-16 12:55:22 +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