Skip to content
Snippets Groups Projects
Select Git revision
  • e00e2820e7d460b464965422aab284c6d3b56c70
  • ballinvoher default protected
  • client-http-server-for-token
  • master
  • gitlab-auth-issue
  • windows
  • microsoft
  • message
  • azure_auth
  • prometheus
  • permission-templates
  • no-datastore
  • save-public-keys
  • gitlab-group-level-start
  • v1.1.0
  • v1.0.0
  • v0.1
17 results

exampleconfig.json

  • exampleconfig.json 772 B
    {
      "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"]
      }
    }