Policies serve the purpose of describing the parameters for individual workload identities. They offer a comprehensive approach by allowing the simultaneous specification of connection properties, SPIFFE ID, and policy enforcement settings.
selectors:
-linux:uid: [501, 1001]
linux:binary:name:curl
certificate:
workloadID:curl
dns:
-example.camblet.io
ttl:8h
connection:
mtls:STRICT
passthrough:false
allowedSPIFFEIDs:
-spiffe://trust.domain/workload-id
egress:
-selectors:
-label:traefik
certificate:
workloadID:specific-workload-id
Policy
Field
Type
Required
Description
selectors
[]selector
Yes
Selectors comprise one or more sets of labels and their corresponding values. Their purpose is to precisely describe a specific workload.