KQ106 — a Component holds one kind of workload identity
Lint · client-and-server-in-one · Workload identity
A Component holds a client or a server workload identity, not both.
A component holds both a client and a server workload identity. That is right for an API that also calls others; check it isn't one identity written twice.
Examples
A component holding both a client and a server workload identity raises KQ106:
platform banking {
component cards "Cards" : backend {
workload cards-api "Cards API" : server in iam/entra
workload cards-app "Cards" : client in iam/entra {
credential managed
}
}
}
With the one it signs in as, it raises nothing:
platform banking {
component cards "Cards" : backend {
workload cards-app "Cards" : client in iam/entra {
credential managed
}
}
}
© 2026 Extenza Works. All rights reserved.