#3165 Allow renewal of a project API key
Closed: Fixed 5 years ago Opened 5 years ago by stlaz.

It's to be expected that once an API key expires, the user would like to renew this one with the same ACLs. Current user experience is quite bad since you need to have 2 separate windows opened next to each other in order to get the ACLs right again.

Add a "Renew" button to the API keys in project settings that would renew the given API key with the same ACLs the previous API key had.


I think that's a good idea :)

Metadata Update from @pingou:
- Issue tagged with: RFE

5 years ago

As long as we make sure that the actual API key string itself changes, this sounds like a fine idea to me.

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

so I have a utility that runs that interacts with pagure. it's API key expires every so often. Can I use the new functionality to automate renewing the key?

It's implemented in the UI only, we currently have nothing API token related in the API.

Note: if you want/need a token that expires in more than 60 days, pagure admins can extend the life of your token. So feel free to open a fedora-infra ticket for this :)

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3353 Merged 5 years ago