Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-sso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
id
go-sso
Commits
c09a313d
Commit
c09a313d
authored
7 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Update README with configuration attributes
parent
8ff5339d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-4
7 additions, 4 deletions
README.md
with
7 additions
and
4 deletions
README.md
+
7
−
4
View file @
c09a313d
...
@@ -15,8 +15,9 @@ This repository includes a few separate binaries:
...
@@ -15,8 +15,9 @@ This repository includes a few separate binaries:
# Configuration
# Configuration
The
*sso-server*
program requires a YAML configuration file. It
The
*sso-server*
daemon requires a YAML configuration file,
understands the following attributes:
*/etc/sso/server.yml*
by default. It understands the following
attributes:
*
`secret_key_file`
: path to the Ed25519 secret key (should be exactly
*
`secret_key_file`
: path to the Ed25519 secret key (should be exactly
64 bytes)
64 bytes)
...
@@ -52,10 +53,10 @@ understands the following attributes:
...
@@ -52,10 +53,10 @@ understands the following attributes:
*
`auth_key`
: a long-term key to authenticate HTTP-based cookies
*
`auth_key`
: a long-term key to authenticate HTTP-based cookies
*
`geo_ip_data_files`
: GeoIP databases to use (in mmdb format), if
*
`geo_ip_data_files`
: GeoIP databases to use (in mmdb format), if
unset the module will use the default GeoLite2-Country db
unset the module will use the default GeoLite2-Country db
*
`remote_addr_header`
: HTTP header to use to obtain the remote
client address, when the request comes from a trusted forwarder
*
`keystore`
: configures the connection to the keystore service
*
`keystore`
: configures the connection to the keystore service
*
`url`
: URL for the keystore service
*
`url`
: URL for the keystore service
*
`sharded`
: if true, requests to the keystore service will be
partitioned according to the user's
*shard*
attribute
*
`tls_config`
: client TLS configuration
*
`tls_config`
: client TLS configuration
*
`cert`
: path to the client certificate
*
`cert`
: path to the client certificate
*
`key`
: path to the private key
*
`key`
: path to the private key
...
@@ -74,6 +75,8 @@ understands the following attributes:
...
@@ -74,6 +75,8 @@ understands the following attributes:
proxies). If a request comes from here, we will trust the
proxies). If a request comes from here, we will trust the
X-Forwarded-Proto and X-Real-IP headers when determining the
X-Forwarded-Proto and X-Real-IP headers when determining the
client IP address
client IP address
*
`max_inflight_requests`
: maximum number of in-flight requests to
allow before server-side throttling kicks in
## Device tracking
## Device tracking
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment