---
title: "ezgh registry get-login-password"
description: "Print the API key to sign a container client in with."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh registry get-login-password

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh registry get-login-password
```

Print this profile's API key (`EZGH_API_KEY`, an API key from `ezgh auth set-api-key`, or an instance's or pod's Bot key), for a client's login `--password-stdin`; any username works. The registry takes only API keys: with a login from `ezgh login` this prints nothing and says what to do instead. The host is `ezgh registry get`'s.

Part of [`ezgh registry`](/cli/reference/registry).

## Examples

```sh
ezgh registry get-login-password | podman login 4k2m9x0a7qpe.registry.ezghcloud.com --username ezgh --password-stdin
ezgh registry get-login-password | crane auth login 4k2m9x0a7qpe.registry.ezghcloud.com --username ezgh --password-stdin
```

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/registry-get-login-password/index.mdx
