-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopentdf-example-no-kas.yaml
51 lines (51 loc) · 1.22 KB
/
opentdf-example-no-kas.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
logger:
level: debug
type: text
output: stdout
# DB and Server configurations are defaulted for local development
# db:
# host: localhost
# port: 5432
# user: postgres
# password: changeme
services:
kas:
enabled: false
policy:
enabled: true
server:
auth:
enabled: false
enforceDPoP: false
audience: "http://localhost:8080"
issuer: http://localhost:8888/auth/realms/tdf
cors:
enabled: false
# '*' to allow any origin or a specific domain like 'https://yourdomain.com'
allowedorigins: "*"
# List of methods. Examples: 'GET,POST,PUT'
allowedmethods:
- GET
- POST
- PATCH
- PUT
- DELETE
- OPTIONS
# List of headers that are allowed in a request
allowedheaders:
- ACCEPT
- Authorization
- Content-Type
- X-CSRF-Token
# List of response headers that browsers are allowed to access
exposedheaders:
- Link
# Sets whether credentials are included in the CORS request
allowcredentials: true
# Sets the maximum age (in seconds) of a specific CORS preflight request
maxage: 3600
grpc:
reflectionEnabled: true # Default is false
port: 8080
opa:
embedded: true # Only for local development