In SPIFFE and SPIRE, a selector is an attribute used to identify and attest a workload or node, such as a Kubernetes namespace, service account name, Docker image hash, or Unix process UID. Selectors are the rules SPIRE uses to determine which SPIFFE ID a workload should receive. Getting selector definitions right is a key part of implementing least-privilege workload identity: too broad a selector grants identity to more workloads than intended, expanding the blast radius of any compromise.