RunasSpec
RunasSpec is a proposed specification for describing run-as policies in computing environments. It provides a formal schema for expressing how and under what identities a process may execute commands or programs on behalf of another user. The goal is to enable consistent policy definition, auditing, and cross-system interoperability in privilege-management frameworks across operating systems, containers, and orchestration platforms.
The specification defines a policy document that includes subject identifiers (the initiating user or service), target
Syntax and formats are described as machine-readable schemas with preferred encodings in JSON and YAML, plus
History and status: RunasSpec has appeared in security literature and industry forums as a conceptual standard;