mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
GITBOOK-2: No subject
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user