TOML

A plain text configuration file format of sections and key = value lines, designed to be easy for people to read.

In more detail

TOML stands for Tom's Obvious, Minimal Language. Values have types such as strings, numbers, booleans and dates, and [section] headers group related keys. It is used for project files such as pyproject.toml in Python and Cargo.toml in Rust.

Examples

Gitleaks rules are written in TOML
[sev1]
chain = ["primary on-call", "incident commander", "CISO"]
escalate_after_min = 5
policy = tomllib.load(open("severity.toml", "rb"))

Related terms

Taught in

References

Certification courses