Overview of YAML files

YAML (yet another markup language) can be defined as readable data that’s used for configuration, application setup, and data exchange. They contain data in a structured format. The data is either organized into key-value pairs, data structures, or lists. They’re much easier to understand than other data-readable formats such as XML or JSON. As explained, they’re mostly for configurational purposes, i.e., setting up environmental and other needed setup in an application. An example of a YAML file can be seen below:

Get hands-on with 1400+ tech skills courses.