The central element for storing and managing data in OwnYourData is the data vault. It essentially consists of a database and access management via OAuth2. Plugins and services must be registered with a manifest, creating an ID and a secret. A client application (plugin) receives a token after the provision of ID and secret with which access to the data defined in the manifest is possible.
Source code of the data vault: https://github.com/ownyourdata/oyd-pia2
Docker image for data vault: https://hub.docker.com/r/oydeu/oyd-pia2
Swagger API documentation: https://api-docs.ownyourdata.eu/datavault
Note: the internal name PIA for the vault is the abbreviation for “Personal Information Archive”
Data is encrypted in the data vault end-to-end, i.e., all data sources should encrypt any data with the public key when storing data and plugins that process the data require the private key. Detailed documentation for access to the data vault is included in the OwnYourData Smartphone App specification.