Query parameters
-
The name of the principal, for example, User:alice or RedpandaRole:admin. Use "*" to represent a wildcard.
-
The name of the resource. Use "*" to represent a wildcard.
-
The type of resource being secured. The REGISTRY type maps to top-level operations such as
GET /mode
andGET /config
. The SUBJECT type maps to operations on the subject level, such asGET /subjects
andGET /config/{subject}
.Values are
REGISTRY
orSUBJECT
. -
Pattern match type for the resource. Only applies when
resource_type
is SUBJECT.Values are
LITERAL
orPREFIXED
. -
Originating host for which this rule applies. Use "*" to represent a wildcard.
-
The operation to allow or deny.
Values are
ALL
,READ
,WRITE
,DELETE
,DESCRIBE
,DESCRIBE_CONFIGS
, orALTER_CONFIGS
. -
Specifies whether the operation is allowed or denied.
Values are
ALLOW
orDENY
.
curl \
--request GET 'http://localhost:8081/security/acls'
[
{
"host": "*",
"resource": "model-",
"operation": "READ",
"principal": "User:alice",
"permission": "ALLOW",
"pattern_type": "PREFIXED",
"resource_type": "SUBJECT"
}
]
[
{
"principal": "string",
"resource": "string",
"resource_type": "REGISTRY",
"pattern_type": "LITERAL",
"host": "string",
"operation": "ALL",
"permission": "ALLOW"
}
]
{
"error_code": 42,
"message": "string"
}
{
"error_code": 42,
"message": "string"
}
{
"error_code": 42,
"message": "string"
}