mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
22 lines
474 B
Markdown
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
|
|
```
|