aboutsummaryrefslogtreecommitdiff
path: root/exampleconfig.json
blob: 97d3af52aaeceab551c5f5ece0019c138602d230 (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
{
  "server": {
    "tls_key": "server.key",
    "tls_cert": "server.crt",
    "port": 443,
    "cookie_secret": "supersecret"
  },
  "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"
    },
    "jwt_signing_key": "supersecret"
  },
  "ssh": {
    "signing_key": "signing_key",
    "additional_principals": ["ec2-user"],
    "max_age": "720h",
    "permissions": ["permit-pty"]
  }
}