Authentication
The auth command manages authentication profiles for connecting to one or more Redmine instances.
login Interactive login wizard; creates a new profile.
list List all saved authentication profiles.
switch Switch the active authentication profile.
status Show the current auth status.
logout Remove an authentication profile.
Start an interactive login wizard:
redmine auth loginredmine auth login --name work # explicit profile name| Flag | Description |
|---|---|
--name | Profile name (default: derived from server hostname) |
redmine auth listShows each profile’s server URL and which one is currently active.
switch
Section titled “switch”redmine auth switchOpens an interactive selector. The picked profile becomes the default for subsequent commands.
status
Section titled “status”redmine auth statusDisplays the active profile name, server URL, and authentication method.
logout
Section titled “logout”redmine auth logout # current profileredmine auth logout work # named profileYou will be prompted to confirm before removal.
Quick reference
Section titled “Quick reference”redmine auth loginredmine auth login --name workredmine auth listredmine auth switchredmine auth statusredmine --profile work issues listredmine auth logoutredmine auth logout work