Create an upstream proxy
Learn how to configure your artifact registries with an upstream proxy.
An Upstream Proxy in Harness Artifact Registry is a proxy configuration that allows your registry to automatically fetch and cache artifacts from external or remote registries. When a user requests an artifact that isn't available locally, the registry directs the request to the configured upstream proxy, retrieves the artifact, and caches it for future use.
Key benefits
An upstream proxy provides these benefits:
Caching: Faster access to artifacts by storing them locally once fetched
Centralization: Consolidate external repositories into one location for easier management
Access control: Enforce your security policies while fetching artifacts
Reliability: Reduce dependency on external services by leveraging cached artifacts
Automatic scanning: Artifacts cached through upstream proxies are automatically scanned at ingest time via Supply Chain Security (SCS), not STO
Create an upstream proxy
To create an upstream proxy, follow these steps:
On the Registries tab, select the dropdown next to + New Artifact Registry, then select Upstream Proxy.
Select a registry type.
Enter the Upstream Proxy Key.
Depending on the registry type, configure the source settings:
Choose your Authentication method:
Select Create Upstream Proxy.
HARNESS SECRET MANAGER REQUIRED
Upstream registry authentication details must be stored in Harness Secret Manager.
External secret managers are not supported for upstream authentication.
This requirement ensures that Harness Artifact Registry can securely decrypt and validate credentials during authentication.
Next steps
Go to Configure Registries to set an upstream proxy for a registry.
Last updated
Was this helpful?