#7069 Create long-lived pagure API tokens
Closed: Fixed 5 years ago Opened 5 years ago by ralph.

I would like a few long-lived pagure API tokens for some Jenkins integration on my pagure.io projects.

As a normal user, I can self-service create API tokens, but they expire after a few months. To make things easy, I'd like to create some that live for a year.

As a sysadmin, I think I have rights to do this myself with the pagure admin tool.

Normally, I would ask @pingou, but he is out. So, instead I'm filing this ticket for transparency. Will give a chance for other admins to comment or object if they like before I act on it.

The projects are:

  • freshmaker
  • odcs
  • waiverdb
  • greenwave
  • fm-orchestrator

You can create the token you need using the UI as usual and then update their end date using pagure-admin admin-token update (see the --help for the arguments needed).

:thumbsup: for me

You can create the token you need using the UI as usual and then update their end date using pagure-admin admin-token update (see the --help for the arguments needed).

can normal people do that too? asking for a friend (i maintain https://pagure.io/dusty/failed-composes)

Metadata Update from @ralph:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

can normal people do that too?

Only admins having ssh access to the host can run the pagure-admin CLI

Metadata Update from @pingou:
- Issue status updated to: Open (was: Closed)

5 years ago

Metadata Update from @pingou:
- Issue close_status updated to: Fixed

5 years ago

Login to comment on this ticket.

Metadata