Your personal data is stored in config/personal_data.yaml (this file is git-ignored and never committed).
A template is provided at config/personal_data.yaml.example.
# Personal data for Privacy Shield
# Add your real information here — this file is NEVER committed to git
people:
- name: "Sarah Jones"
role: "self"
- name: "Tom Jones"
role: "spouse"
- name: "Emma Jones"
role: "daughter"
addresses:
- value: "14 Oak Lane, Bristol, BS1 4QT"
label: "home"
- value: "100 Business Park, London, EC1A 1BB"
label: "work"
emails:
- value: "sarah.jones@gmail.com"
label: "personal"
- value: "s.jones@acmecorp.com"
label: "work"
phones:
- value: "+44 7700 900123"
label: "mobile"
- value: "0117 496 0123"
label: "home"
organisations:
- value: "Acme Corp"
label: "employer"
- value: "St Mary's Primary School"
label: "school"
financial:
- value: "12-34-56"
label: "sort code"
- value: "12345678"
label: "account number"
identifiers:
- value: "AB 12 34 56 C"
label: "NI number"
- value: "JONES941234SA123"
label: "UTR"
| Category | What to put here |
|---|---|
people |
Your name, family members, close contacts — anyone whose name you regularly mention |
addresses |
Home, work, school, frequent locations |
emails |
All your email addresses |
phones |
Mobile, home, work numbers |
organisations |
Employer, children's school, clubs, service providers |
financial |
Sort codes, account numbers (not full card numbers — Phase 2 catches those automatically) |
identifiers |
National Insurance number, tax references, passport number, driving licence |
people.Phase 2 (automatic detection) is configured in the same file or via the shield constructor:
phase2:
confidence_threshold: 0.7 # 0.0 to 1.0 — higher = fewer false positives
enabled: true # set to false to skip Phase 2 entirely
entities: # which types to detect (all enabled by default)
- PERSON
- LOCATION
- PHONE_NUMBER
- EMAIL_ADDRESS
- ORGANIZATION
- CREDIT_CARD
- IP_ADDRESS