Adds a registry hostname to the Runtime trusted-registries list so images from that host are not marked Untrusted.
Call this on the Runtime service path https://<JPD_HOST>/runtime/api/v1/trusted_registries. Do not send the request to /api/v1/ on the Artifactory base URL.
Runtime auto-trusts only the JPD platform base URL hostname. Custom Docker CNAMEs (for example docker.corp.example.com) and external or mirror registries (for example cgr.dev) are not auto-trusted. Images from those hosts stay Untrusted until you add the exact hostname Runtime reports for the image.
registryUrl is the hostname only. It must match the image registry host in Runtime exactly. trusted set to true treats the registry as trusted. supported set to true runs Artifactory integrity checks against this registry. Set supported to false for an external or mirror host that is not an Artifactory Docker API. If you omit supported, Runtime stores false.
This operation creates a new entry. Sending a hostname that is already registered returns 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
