Skip to content
Discussion options

You must be logged in to vote

I did run self hosted runners for over a year i think without the token expiring.
As far as i understood from researching the "token" in .credentials is just the registration token (when you first register the runner).
After the registration it has obtained a public private key pair which the runner uses to authenticate. And this doesn't have a TTL as far as i know.

If you want to time the access of a runner i think you need to programmatically register it and also stop + unregistered it via API and also via the script on the machine it is running on.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by austinhallett
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD other General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage inactive This discussion has been automatically marked as inactive. This was formerly labeled stale.
2 participants