#2034 copr-cli command to renew API token
Closed: MIGRATED a year ago by nikromen. Opened 2 years ago by brianjmurrell.

For automated build systems, it's a pain for an admin to have to stop what he is doing and renew the COPR API token every 6 months. But I can appreciate you wanting to cycle them with some frequency and allow tokens that are not still in use to expire.

Given those requirements, it would be useful if there were a copr-cli command to renew a token given a valid token.

Automated build systems then could simply copr-cli renew the token every (i.e. 5 months) using the existing valid token.


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

2 years ago

Per discussion on the meeting today:
- using the kerberos AUTH, this would be pretty trivial (once krb is implemented)
- we could alternatively allow API tokens with longer validity (using a web form), as we manually did several times before

Also, as a security feature, we should display the token only once in web-UI, when created (this is a pretty common thing in other services).

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

a year ago

Login to comment on this ticket.

Metadata