This section shows the high level architecture of STRM Privacy. It shows how data is processed, before it is exposed to an application consuming the data.
When sending data or receiving data to/from STRM Privacy, your application
must identify itself using client credentials. These credentials are provided
through the self-service portal or via the
strm command line interface.
All events that are being sent to STRM Privacy have schema reference (in a http header) that defines the structure and contents of the event.
The STRM Privacy Event Gateway will verify that the data:
…is of the correct serialization format, as specified in schema reference
…is a valid serialized message
…complies to the pre-defined validation rules, as specified in the Event Contract
Upon accepting an event, the Event Gateway will use the Encrypter to encrypt all defined Personally Identifiable Information (PII) attributes of the event. Which fields are PII is defined in the event contract, for example the media personalization event contract. The schema can have multiple levels of PII attributes but all of them are encrypted with the same encryption key that is linked to the session. This key is rotated every 24 hours.
You can  create decrypted streams that contain a subset of the encrypted stream, with only those PII fields decrypted that you have requested.
The algorithm is as follows:
we define a derived stream where for example we request to receive events that provide consent for levels 1, 3 and 8.
the decrypter will inspect every event, and will ignore all events that don’t have at least these 3 levels set in their
the events that are accepted by the decrypter will then be partially decrypted; only the attributes with PII levels 1, 3 and 8 will be decrypted. This means that assuming a customer has given consent for a couple more PII levels, fields with those consent levels will not be decrypted. This is the mechanism that STRM Privacy uses to adhere to article 6 of the GDPR. A data processing unit in a company receives only those events that the end-user has consented to, with only those PII data that it needs.
STRM Privacy has multiple output possibilities.
Currently STRM Privacy has two batch exporter outputs, for AWS S3, and Google Cloud Storage. These can be configured to receive batches of JSON formatted events of encrypted streams or output streams. See here for an example.
It is possible to move the decryption of events to the customers own environment. In that case the client will receive the encryption keys (in tink format) via a batch exporter mechanism. See the Exporting Keys documentation for some details.
|In case the customer choose to receive and use the decryption keys to decrypt personal data attributes, the responsibility for correctly dealing with privacy compliance moves to the customer teams and processes.|