---
name: Registry-ts_cosign_podman
title: Why have I got a problem when I pull an image with `cosign` when I use Podman in Container Registry?
description: You are having problems when you try to pull an image when you are using `cosign` with Podman in IBM Cloud&reg; Container Registry.
last-updated: 2025-10-14
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/Registry?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Why have I got a problem when I pull an image with `cosign` when I use Podman in Container Registry?
{: #troubleshoot-cosign-podman}
{: troubleshoot}
{: support}

You are having problems when you try to pull an image when you are using [`cosign`](https://github.com/sigstore/cosign){: external} with [Podman](https://podman.io/){: external} in IBM Cloud&reg; Container Registry.
{: 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.

```txt
cosign login REGISTRY -u iamapikey -p YOUR_API_KEY
```
{: pre}