I have Nexus OSS 3.16 on prem and would like to configure it to proxy a Private Google Container Registry into Nexus. I have a google service account and the key. now how do I configure the authentication bit in nexus to link to gcr ?
tried putting the username as _json_key and the password the content of the Google JSON Key File but no banana …
Upgrading your version of Nexus Repository Manager
Unfortunately, there was a bug in versions of Nexus Repository Manager prior to 3.19 which prevented the feature I am about to mention from working. https://issues.sonatype.org/browse/NEXUS-19102
So, your first step will be to upgrade your instance of Nexus RM: Upgrading
How to configure
Once you have an updated version of NXRM, the setting you are looking for when configuring your repository is the HTTP Authentication section for that repository’s configuration. This is where you want to set your service account’s username - oauth2accesstoken according to this page - and its token as the password.
Hi, I have a issue using the http authentication with _json_key, it gives this error. Do you have any clue on what is the problem ? I’m using the latest version of Sonatype
[root@xxx yum.repos.d]# yum list
Invalid configuration value: enabled=3 in /etc/yum.repos.d/artifact-registry-plugin3.repo; invalid boolean value ‘3’
Google Plugin 2.8 kB/s | 1.4 kB 00:00
yumrepo-agitept-el8-ext 25 kB/s | 1.5 kB 00:00
Errors during downloading metadata for repository ‘yumrepo-agitept-el8i-ext’: