woodpecker icon indicating copy to clipboard operation
woodpecker copied to clipboard

Woodpecker agent tokens should only be valid for one time usage

Open runephilosof-karnovgroup opened this issue 1 year ago • 5 comments

Clear and concise description of the problem

Woodpecker token is available to jobs https://github.com/woodpecker-ci/autoscaler/issues/91

Suggested solution

Agent tokens should be invalidated after first usage.

Alternative

No response

Additional context

No response

Validations

  • [X] Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.