Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.09 KB

File metadata and controls

39 lines (26 loc) · 1.09 KB
copyright
years
2023, 2025
lastupdated 2025-10-14
keywords error, cosign, Podman, pulling, image
subcollection Registry
content-type troubleshoot

{{site.data.keyword.attribute-definition-list}}

Why have I got a problem when I pull an image with cosign when I use Podman in {{site.data.keyword.registryshort_notm}}?

{: #troubleshoot-cosign-podman} {: troubleshoot} {: support}

You are having problems when you try to pull an image when you are using cosign{: external} with Podman{: external} in {{site.data.keyword.registrylong}}. {: shortdesc}

You are getting the following error when you try to pull an image and you are using cosign with Podman: UNAUTHORIZED: Authorization required. {: tsSymptoms}

You might need to log in to cosign manually. {: tsCauses}

You can fix this problem in the following way: {: tsResolve}

Use the following command to log in to cosign, where REGISTRY is your registry and YOUR_API_KEY is your API key.

cosign login REGISTRY -u iamapikey -p YOUR_API_KEY

{: pre}