Files
api-guidelines/asynchronous-api-guidelines/kafka-asynchronous-guidelines/l_security_schemes.md
2024-05-10 09:32:22 +00:00

22 lines
474 B
Markdown

# Security Schemes
Specs **MAY** use security schemas to reflect the fact that the Kafka servers use mTLS. It is something quite static at the moment so the recommendation is reuse the ones specified in the reference spec.
```yaml
channels:
namespace.source.event.topic-name:
...
publish:
...
security:
- producerAcl: []
...
components:
securitySchemes:
...
consumerAcl:
type: X509
producerAcl:
type: X509
```