[egulu CLI reference](../index.md) / [egulu postgres-clusters](index.md)

# egulu postgres-clusters create-role

POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/roles

```sh
egulu postgres-clusters create-role <NAME> [options]
```

## API operation

[PostgresRoles_create](../../api/databases/PostgresRoles_create.md): `POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/roles` (databases module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the roleId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--access` | value | no | access |
| `--cluster` | value | yes | cluster |
| `--connection-limit` | value | no | connectionLimit |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
