---
title: "ezgh kubernetes pod-identity-associations create"
description: "Give a service account's pods a bot's access."
---

> 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 kubernetes pod-identity-associations create

{/* 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 kubernetes pod-identity-associations create --cluster c --namespace n --service-account s --bot b [flags]
```

Give the pods of a service account short-lived keys for a bot, which EZGH SDKs and the CLI in the pod use. Nothing is stored in the cluster. You need bots.pass on the bot.

Part of [`ezgh kubernetes pod-identity-associations`](/cli/reference/kubernetes-pod-identity-associations).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--bot` | string |  | the bot (bot\_…) its pods act as |
| `--cluster` | string |  | the cluster |
| `--namespace` | string |  | the service account's namespace |
| `--service-account` | string |  | the service account |
| `--tag` | string, repeatable |  | a tag, key=value; repeat for more |

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

Source: https://docs.ezghcloud.com/cli/reference/kubernetes-pod-identity-associations-create/index.mdx
