# Server configuration
server:
  host: "0.0.0.0"  # Listen on all interfaces
  port: 8080       # HTTP port to listen on
  tls:             # TLS/HTTPS configuration
    enabled: false  # Set to true to enable HTTPS
    cert_file: "/path/to/cert.pem"
    key_file: "/path/to/key.pem"

# Database configuration
database:
  host: "localhost"
  port: 5432
  username: "byop_user"
  password: "secure_password"
  name: "byop_db"
  ssl_mode: "disable"  # Options: disable, require, verify-ca, verify-full

# Authentication configuration
auth:
  private_key: "your-jwt-signing-key-here"  # Used to sign JWT tokens
  token_duration: 3600000000000  # Token validity duration in nanoseconds (1 hour)
  cleanup_interval: 86400000000000  # Token cleanup interval in nanoseconds (24 hours)

# Cloud providers configuration
providers:
  # OVH configuration
  ovh:
    application_key: "your-ovh-app-key"
    application_secret: "your-ovh-app-secret"
    consumer_key: "your-ovh-consumer-key"
    project_id: "your-ovh-project-id"
    region: "GRA7"  # Optional default region

  # AWS configuration
  aws:
    access_key: "your-aws-access-key"
    secret_key: "your-aws-secret-key"
    region: "us-east-1"

  # Azure configuration
  azure:
    subscription_id: "your-azure-subscription-id"
    tenant_id: "your-azure-tenant-id"
    client_id: "your-azure-client-id"
    client_secret: "your-azure-client-secret"