aboutsummaryrefslogtreecommitdiff
path: root/server/config/testdata/test.config
blob: 96899e725c869f26dca4cba8a6fe6aee18bc6dc4 (plain)
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
server {
  use_tls = true
  tls_key = "server.key"
  tls_cert = "server.crt"
  address = "127.0.0.1"
  port = 443
  user = "nobody"
  cookie_secret = "supersecret"
  csrf_secret = "supersecret"
  http_logfile = "cashierd.log"
  database {
    type = "mysql"
    username = "user"
    password = "passwd"
    address = "localhost:3306"
  }
}
auth {
  provider = "google"
  oauth_client_id = "client_id"
  oauth_client_secret = "secret"
  oauth_callback_url = "https://sshca.example.com/auth/callback"
  provider_opts {
    domain = "example.com"
  }
  users_whitelist = ["a_user"]
}
ssh {
  signing_key = "signing_key"
  additional_principals = ["ec2-user", "ubuntu"]
  max_age = "720h"
  permissions = ["permit-pty", "permit-X11-forwarding", "permit-port-forwarding", "permit-user-rc"]
}
aws {
  region = "us-east-1"
  access_key = "abcdef"
  secret_key = "omg123"
}
vault {
  address = "https://vault:8200"
  token = "abc-def-456-789"
}