Fides Documentation – Ethyca

CLI Reference

Running Fides Server

db

The fides db is the database utility that supports initialization and resetting of the database Fides.

To learn more about configuring Fides see the How to Configure Fides guide.

Usage

Usage: fides db <command>

The following subcommands are available:

Running this command should result in output that resembles the following:


Example: Initialize the Fides database

This example initializes the Fides database.

$ fides db init
Loaded config from: .fides/fides.toml
{'data': {'message': 'fides database initialized'}}
(venv) (base) CK-M1-Pro:test cillian$

Example: Reset the Fides database

This example wipes all user data and resets the database back to its initialized state.

$ fides db reset
Loaded config from: .fides/fides.toml
This will drop all data from the Fides database and reload the default taxonomy!
Are you sure [y/n]?