blob: 9ad93940f65a857eabe56e2c2fed0aa1f12a18bd (
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
|
package testdata
var ServerConfig = []byte(`
server {
use_tls = true
tls_key = "server.key"
tls_cert = "server.crt"
port = 443
cookie_secret = "supersecret"
}
auth {}
ssh {}
`)
var AuthConfig = []byte(`
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"
}
}
server {}
ssh {}
`)
var SSHConfig = []byte(`
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"]
}
auth {}
server {}
`)
|