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 is not available locally, the registry directs the request to the configured upstream proxy, retrieves the artifact, and caches it for future use.
Key benefits
The 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:
Select the dropdown next to + New Artifact Registry, and then select Upstream Proxy.
Select a registry type.
Enter the Upstream Proxy Key. This is the identifier or name for the proxy within Harness and is chosen by you.
Depending on the registry type, configure the source settings:
Select 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: After you have created your upstream proxy, set it in a registry. Go to Set an upstream proxy to configure it.
Last updated
Was this helpful?