server:
  host: "0.0.0.0"
  port: 8081
  insecure_http: true
  tls:
    cert_file: ""
    key_file: ""

kbs:
  url: "http://localhost:8080"
  insecure_http: true
  ca_cert_file: ""

attestation_service:
  url: "http://localhost:50005"
  insecure_http: true
  ca_cert_file: ""

rvps:
  grpc_addr: "localhost:50003"

database:
  type: "sqlite"
  path: "/app/data/trustee-gateway.db"

logging:
  level: "debug"

# Audit log cleanup configuration
audit:
  # Maximum number of records to keep for each type (attestation_records and resource_requests)
  # Set to 0 to disable count-based cleanup
  max_records: 1000
  # Number of days to retain records (records older than this will be deleted)
  # Set to 0 to disable time-based cleanup
  retention_days: 3
  # Cleanup interval in hours
  cleanup_interval_hours: 24