# memoryoss configuration (example)
# Copy to memoryoss.toml and fill in your keys:
# cp memoryoss.toml.example memoryoss.toml
[server]
host = "127.0.0.1"
port = 8000
[tls]
enabled = true
auto_generate = true
[auth]
jwt_secret = "replace-with-a-32+-char-secret"
audit_hmac_secret = "replace-with-a-32+-char-secret"
[[auth.api_keys]]
key = "ek_YOUR_API_KEY_HERE" # Generated by: memoryoss setup
role = "admin"
namespace = "default"
jwt_expiry_secs = 3600
[storage]
data_dir = "data"
[proxy]
enabled = true
upstream_url = "https://api.openai.com/v1"
upstream_api_key = "sk-proj-YOUR_OPENAI_KEY"
anthropic_api_key = "sk-ant-YOUR_ANTHROPIC_KEY"
passthrough_auth = true
passthrough_local_only = true
# Proxy key mapping: client uses proxy_key, memoryOSS forwards with upstream key
[[proxy.key_mapping]]
proxy_key = "ek_YOUR_API_KEY_HERE"
namespace = "default"
[sharing]
allow_private_webhooks = false
[logging]
level = "info"
json = false