Skip to main content

List the registries that have a saved credential

GET 

/registry-credentials

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/registry-credentials"

The registry hosts the daily update check has a credential for, sorted, as image references name them (docker.io, ghcr.io, registry.example.com:5000). A credential is never returned: only the host is. A host listed here whose credential was cleared by a restore without the backup passphrase makes the update check report its images as failed until putRegistryCredential saves it again.

Responses​

The registry hosts.