aboutsummaryrefslogtreecommitdiff
path: root/exampleconfig.json
blob: eeb1453a692d74bd7d6bb7ebffe2106b30a127f8 (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
{
  "server": {
    "use_tls": true,
    "tls_key": "server.key",
    "tls_cert": "server.crt",
    "port": 443,
    "cookie_secret": "supersecret",
    "template_dir": "/go/src/github.com/nsheridan/cashier/templates"
  },
  "auth": {
    "provider": "google",
    "oauth_client_id": "nnnnnnnnnnnnnnnn.apps.googleusercontent.com",
    "oauth_client_secret": "yyyyyyyyyyyyyyyyyyyyyy",
    "oauth_callback_url": "https://sshca.example.com/auth/callback",
    "google_opts": {
      "domain": "example.com"
    }
  },
  "ssh": {
    "signing_key": "signing_key",
    "additional_principals": ["ec2-user", "ubuntu"],
    "max_age": "720h",
    "permissions": ["permit-pty", "permit-X11-forwarding", "permit-agent-forwarding", "permit-port-forwarding", "permit-user-rc"]
  }
}