Keyless Docker Authentication

XMLWordPrintable

      Hi,

      thank for the great product you've made. I like using the CI/CD of bitbucket.

      I'm struggling with a security challenge. I want to use a custom docker image for building a node application. If the image is pulled, I can always use a static environment variable.

      But thats not the modern way of using tokens. They should invalidate in order to reduce the attack frontline. I need a way to login to the private registry using a dynamic created token. Something like:

      image:
        name: private-docker-repo/build-image:latest
        username: "oauth2accesstoken"
        password: $(cat oauth_access_token) 

      In this example, the pipeline logged on to the registry as oidc and wrote the access token to a temporary file.

      Thanks in advance

              Assignee:
              Unassigned
              Reporter:
              Bergner.Arndt
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: