-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml
60 lines (52 loc) · 1.44 KB
/
config.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
52
53
54
55
56
57
58
59
60
aws_secrets_manager:
type: "proxy_aws_secrets_manager"
cache_ttl: 300
awssm_oauth:
type: "proxy_awssm_oauth"
certificate_cache_ttl: 300
certificate_region: "us-east-2"
token_cache_ttl: 300
token_cache_size: 10
oauth_url: "http://localhost:8090/oauth"
jwt_claims_map: '{"aud":"sample_aud"}'
jwt_duration: 300
http_retry_attempts: 3
http_retry_min_wait: 3
http_retry_max_wait: 10
awssm_oauth2:
type: "proxy_awssm_oauth"
certificate_cache_ttl: 200
certificate_region: "us-east-2"
token_cache_ttl: 200
token_cache_size: 20
oauth_url: "http://localhost:8090/oauth"
jwt_claims_map: '{"aud":"sample_aud"}'
jwt_duration: 200
http_retry_attempts: 2
http_retry_min_wait: 2
http_retry_max_wait: 8
aws_secrets_manager_file:
type: "file_aws_secrets_manager"
region: "us-east-2"
refresh: 300
secret_id: testSecret
path: ./testsecret
aws_secrets_manager_file_json:
type: "file_aws_secrets_manager"
region: "us-east-2"
refresh: 300
secret_id: testJsonSecret
path: ./testsecretJson
template: postgres://##secret.username##:##secret.password##@##secret.host##:##secret.port##/dbname
aws_iam_auth_rds:
type: "file_aws_iam_auth_rds"
region: "ap-south-1"
db_name: "postgres"
db_user: "karthikvt26_iam"
db_host: "rds-hasura12a42cb.cdaicbsap2wa.ap-south-1.rds.amazonaws.com"
db_port: 5432
path: /home/karthikv/Work/hasura-dev/pgproxy/token_file
log_config:
level: "info"
refresh_config:
endpoint: /refresh