---
title: rpk security acl create
latest-redpanda-tag: v25.3.11
latest-console-tag: v3.14.0
latest-operator-version: v25.3.12
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "true"
page-is-past-eol: "false"
page-eol-date: November 19, 2026
latest-connect-version: 4.118.0
docname: rpk/rpk-security/rpk-security-acl-create
page-component-name: streaming
page-version: "25.3"
page-component-version: "25.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-security/rpk-security-acl-create.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.3/modules/reference/pages/rpk/rpk-security/rpk-security-acl-create.adoc
page-git-created-date: "2024-04-30"
page-git-modified-date: "2026-01-08"
page-generated-content: none
support-status: nearing end-of-life
---

# rpk security acl create

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

<!-- Source: https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-security/rpk-security-acl-create.md -->

Create ACLs.

Following the multiplying effect of combining flags, the create command works on a straightforward basis: every ACL combination is a created ACL.

As mentioned in the `rpk security acl` help text, if no host is specified, an allowed principal is allowed access from all hosts. The wildcard principal `*` allows all principals. At least one principal, one host, one resource, and one operation is required to create a single ACL.

## Examples

Allow all permissions to user bar on topic `foo` and group `g`:

```bash
rpk security acl create --allow-principal bar --operation all --topic foo --group g
```

Allow all permissions to role bar on topic `foo` and group `g`:

```bash
rpk security acl create --allow-role bar --operation all --topic foo --group g
```

Allow read permissions to all users on topics biz and baz:

```bash
rpk security acl create --allow-principal '*' --operation read --topic biz,baz
```

Allow write permissions to user buzz to transactional ID `txn`:

```bash
rpk security acl create --allow-principal User:buzz --operation write --transactional-id txn
```

Allow read permissions to user `panda` on topic `bar` and schema registry subject `bar-value`:

```bash
rpk security acl create --allow-principal panda --operation read --topic bar --registry-subject bar-value
```

Grant schema migration permissions for migrating schemas between clusters:

```bash
# Source cluster (read-only)
rpk security acl create --allow-principal User:migrator-user \
  --operation read,describe --registry-global --brokers <source-brokers>

# Target cluster (read-write and IMPORT mode management)
rpk security acl create --allow-principal User:migrator-user \
  --operation write,describe,alter_configs,describe_configs \
  --registry-global --brokers <target-brokers>
```

> 📝 **NOTE**
>
> These are Schema Registry ACLs only. You also require Kafka ACLs for topics, consumer groups, and cluster operations. See [Configure Access Control Lists](https://docs.redpanda.com/streaming/25.3/manage/security/authorization/acl/).

## Usage

```bash
rpk security acl create [flags]
```

## Flags

| **Value** | **Type** | **Description** |
| --- | --- | --- |
| `--allow-host` | strings | Hosts from which access will be granted (repeatable). |
| `--allow-principal` | strings | Principals for which these permissions will be granted (repeatable). |
| `--allow-role` | strings | Roles for which these permissions will be granted (repeatable). |
| `--cluster` | - | Whether to grant ACLs to the cluster. |
| `--deny-host` | strings | Hosts from from access will be denied (repeatable). |
| `--deny-principal` | strings | Principal for which these permissions will be denied (repeatable). |
| `--deny-role` | strings | Role for which these permissions will be denied (repeatable). |
| `--group` | strings | Group to grant ACLs for (repeatable). |
| `-h, --help` | - | Help for create. |
| `--operation` | strings | Operation to grant (repeatable). |
| `--registry-global` | - | Whether to grant ACLs for the schema registry. |
| `--registry-subject` | strings | Schema Registry subjects to grant ACLs for (repeatable). |
| `--resource-pattern-type` | string | Pattern to use when matching resource names (literal or prefixed) (default "literal"). |
| `--topic` | strings | Topic to grant ACLs for (repeatable). |
| `--transactional-id` | strings | Transactional IDs to grant ACLs for (repeatable). |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings. See [`rpk -X`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-x-options/) or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail. |
| `--profile` | string | Profile to use. See [`rpk profile`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-profile/rpk-profile/) for more details. |
| `-v, --verbose` | - | Enable verbose logging. |