Set up Storage Destination
Creating a StorageConfig
We need to configure a location to upload the user's PII after fidesops has retrieved it from the Flask App's
database. For tutorial purposes, we'll just write to a local file under /fides_uploads
, but typically we'd want
to upload this to a Storage location like S3. S3 would require a follow-up step to set up AWS access keys and secrets.
For more detailed information, see the Storage Config Guide.
Define a helper method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
Call the helper method to set up storage
This will define a local Storage location called example_storage
that expects JSON data.
1 2 3 4 5 6 7 8 9 |
|