docker_auth icon indicating copy to clipboard operation
docker_auth copied to clipboard

More details on Expiration

Open bengivre opened this issue 2 years ago • 1 comments

Hello, I would like to understand more how expiration token take place ?

Default configuration is 900 Expiration is in minutes right ? So it's 15h , that is for the docker registry token I suppose.

I am using Github auth.

How long are GitHub tokens valid for ?

I see the configuration mention the following revalidate_after: "1h"

I'm trying to figure how/when the Github token generated by auth will expire ?

How people manage :

  • CI/CD pipelines with token that expires ? or can multiple AUTH methods be used at once ? Local file + Github
  • Will you consider adding ACL for long-live-token as asked in #362

Thanks

bengivre avatar Oct 26 '23 17:10 bengivre

Updated my initial question . thanks

bengivre avatar Oct 27 '23 01:10 bengivre