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 /modeandGET /config. The SUBJECT type maps to operations on the subject level, such asGET /subjectsandGET /config/{subject}.Values are
REGISTRYorSUBJECT. -
Pattern match type for the resource. Only applies when
resource_typeis SUBJECT.Values are
LITERALorPREFIXED. -
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
ALLOWorDENY.
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"
}