cesanta / docker_auth

Authentication server for Docker Registry 2
Apache License 2.0
1.27k stars 305 forks source link

How to generate long term access tokens? #362

Open flixman opened 1 year ago

flixman commented 1 year ago

Is there any way, with the current code base, to request a long term token? I have a bunch of machines to which I want to deploy containers and having such tokens would become handy: I would generate a token that lasts for, e.g., 6 months with the correct permissions for the correct repo, and then I do not have to store any functional user credentials on the machine itself.

Is this something available, that I have missed?

bengivre commented 11 months ago

Have you figured something out to address your need ? I'm looking for a solution too.