blob: 4670ea56367f91c29a4b255d7c47c008a9b70b1c (
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
|
package testdata
var ServerConfig = []byte(`
server {
use_tls = true
tls_key = "server.key"
tls_cert = "server.crt"
address = "127.0.0.1"
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 {}
`)
|