-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadms.toml
More file actions
29 lines (24 loc) · 755 Bytes
/
Copy pathadms.toml
File metadata and controls
29 lines (24 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
driver = "postgres"
dsn = "postgres://postgres:postgres@localhost:5433/adms_test?sslmode=disable"
listen = ":7777"
timeout = "30s"
read_only = false
allowed_schemas = ["public"]
allowed_tables = []
cors_origins = []
log_level = "info"
# Authentication. mode defaults to "none" (fully open).
# static: point static.token_env at an env var holding a shared bearer token.
# When ui.enabled is true, the UI auto-forwards the resolved token.
# oidc: validate JWTs against the issuer's JWKS (audience / expiry / signature).
[auth]
mode = "none"
# [auth.static]
# token_env = "ADMS_TOKEN"
# [auth.oidc]
# issuer = "https://your-tenant.auth0.com/"
# audience = "adms"
# roles_claim = "https://adms/roles"
[ui]
enabled = true
listen = ":7778"