Add Fidesctl to the App
In this step you will incorporate fidesctl, which will enable you to declare your
policy resources as manifest YAML files.
requirements.txt file and add the
fidesctl dependency by including the following line:
Then, install the dependencies by running:
With fidesctl installed, it's time to initialize the project so we have some place to start adding resource manifests and tweaking our configuration. Run the following command and follow the prompts to get your local fidesctl instance initialized.
1 2 3 4 5 6 7 8 9 10 11 12
See our Configuration guide for more information on how to configure fidesctl.
Run Fidesctl via Docker
Now that the dependency is included in the project and the configuration is in place, the fidesctl server needs to be told to run. The app uses
docker-compose to orchestrate resources, so include
fidesctl as a service by adding the following configuration after the database service:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Check Your Progress
Next: Annotate the Resources
Now that the fidesctl tools are available to use within the app's virtual environment, the next step is to configure fidesctl to work with the specifics of this app. This can be done by creating manifest files to annotate the resources.