I am using Microsoft Document Intelligence Read Container. I have multiple instances running and have a shared access for the data, meaing I can send an asynchronous call to container A and retrieve data from cotnainer B.
This is my docker-compose.yaml file:
services:
azure-document-intelligence-read-31:
container_name: di-read-31
image: mcr.microsoft.com/azure-cognitive-services/form-recognizer/read-3.1:latest
restart: unless-stopped
environment:
- EULA=accept
- Mounts:License=/license
- Mounts:Shared=/share
- Mounts:Output=/usage
- SharedRootFolder=/share
ports:
- "5000:5000"
networks:
- ocrvnet
volumes:
- /home/noroot/ILFO_FR_READ_3.1/license:/license
- /home/noroot/ILFO_FR_READ_3.1/share:/share
- /home/noroot/ILFO_FR_READ_3.1/usage:/usage
networks:
ocrvnet:
driver: bridge
Now I would like to encrypt the content of the /share folder due to data privacy concerns. When I start the container this output makes me think that this is possible to achieve:
warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50] Using an in-memory repository. Keys will not be persisted to storage. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
What settings do I have to set in order to achieve this? In the official documentation I could not find anything about this.