Skip to content
Snippets Groups Projects

cli: Add password option

Merged Guillaume Samson requested to merge password_option into master

In add-forge-now pipeline this option will be useful to generate token if the former one has expired. I tried to pass the password from stdin but the password prompt is still displayed:

swh@swh-toolbox-7f8bdcbb84-x9n84:~$ echo $PASSWORD | swh auth --oidc-server-url https://auth.softwareheritage.org/auth/ --realm-name SoftwareHeritageStaging generate-token gsamson
Password:

Related to swh/infra/sysadm-environment#5025 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading