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:
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).
pagure-admin admin-token update
--help
:thumbsup: for me
Thanks Pingou!
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)
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)
Metadata Update from @pingou: - Issue close_status updated to: Fixed
Log in to comment on this ticket.