aboutsummaryrefslogtreecommitdiff
path: root/exampleconfig.json
blob: 0007ffedbbf12932051b789126146985855e66db (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"
  },
  "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", "ubuntu"],
    "max_age": "720h",
    "permissions": ["permit-pty", "permit-X11-forwarding", "permit-agent-forwarding", "permit-port-forwarding", "permit-user-rc"]
  }
}