jira auth¶
- Usage:
jira auth [flags]
Manage how jira authenticates to each profile's site. jira auth login stores an API token in the profile's secret backend, jira auth status and jira auth whoami report the current identity, and jira auth migrate moves a credential between the keyring and 1Password.
Tokens never live in the config file — only in the OS keyring, 1Password, or a JIRA_TOKEN_* env var. jira auth logout removes a profile's stored token.
Examples¶
jira auth login --base-url https://example.atlassian.net --email you@example.com
jira auth status # (1)!
jira auth logout # (2)!
- Show the active identity
- Remove the stored token for a profile
Subcommands¶
jira auth login: Configure authentication for a profilejira auth logout: Remove stored credentialsjira auth migrate: Migrate credentials between backendsjira auth refresh: Report credential refresh supportjira auth status: Show authentication statusjira auth switch: Switch active profilejira auth token: Show redacted token diagnosticsjira auth whoami: Show the active user's identity