Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,763
    • Issues 44,763
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,330
    • Merge requests 1,330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #280586
Closed
Open
Issue created Nov 09, 2020 by Steve Abrams@sabramsMaintainer

Deploy token support for the Dependency Proxy

Context

You can use the Dependency Proxy to proxy and cache container images from Docker Hub to reduce your external dependencies, avoid Docker Hub rate limits, and speed up your builds.

When using the Dependency Proxy, you must authenticate with either your GitLab username/password, a personal access token, or using the pre-defined environment variables CI_DEPENDENCY_PROXY_USER and CI_DEPENDENCY_PROXY_PASSWORD.

Problem to solve

The problem is that you cannot authenticate using a Deploy token, which is a common workflow for many organizations as they can avoid using personal credentials in their builds.

Proposal

Add support for Group Deploy Tokens to the dependency proxy.

Further details

When it comes to deploy tokens, there are group and project-level tokens. Since the dependency proxy is at the group (or sub-group), you will need to use a group and not project deploy token.

Documentation

Update the dependencyu proxy authentication docs

Availability & Testing

  • Confirm that group deploy tokens work at the group and sub-group level

What does success look like, and how can we measure that?

Measure the number of container image pulls using a deploy token vs. other credentials.

Edited Jun 16, 2021 by Tim Rizzi
Assignee
Assign to
Time tracking