forked from hasura/hasura-secret-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
51 lines (44 loc) · 1.18 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
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
log_config:
level: "info"
refresh_config:
endpoint: /refresh