Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating password protected Docker Proxy registries #415

Open
Thulium-Drake opened this issue Apr 12, 2024 · 3 comments · May be fixed by #423
Open

Creating password protected Docker Proxy registries #415

Thulium-Drake opened this issue Apr 12, 2024 · 3 comments · May be fixed by #423

Comments

@Thulium-Drake
Copy link

Hi there!

We need to integrate container images from an external password protected registry. In the Nexus WebUI I can configure the credentials needed in the section below:

image

However, I was not able to find a means in the scripting the role provides to do this. Is this supported? If so, how? :-)

If not, what should be changed to make it work?

@brianveltman
Copy link
Contributor

Hi @Thulium-Drake

You can set the remote_username and remote_password properties on your docker proxy repo definition. Like this:

nexus_repos_docker_proxy:
  - name: some-docker-proxy
    blob_store: docker-blob
    remote_url: https://some-private-registry.dev/
    remote_username: 'secret-username'
    remote_password: "{{ vault_alfresco_secret_password }}"

Note that currently only Username is supported for authentication type. Windows NTLM is not support at this time.

@Thulium-Drake
Copy link
Author

Awesome, thanks! Did I miss that in the docs? 👀

@brianveltman
Copy link
Contributor

@Thulium-Drake nope you did not. This is not documented in the README.md
Feel free to add this :-) I would suggest to add it after line

Docker repositories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants