| copyright |
|
||
|---|---|---|---|
| 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}