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
564412b9
Commit
564412b9
authored
7 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation on the keystore client configuration
parent
58b44b15
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-7
20 additions, 7 deletions
README.md
with
20 additions
and
7 deletions
README.md
+
20
−
7
View file @
564412b9
...
...
@@ -57,13 +57,19 @@ understands the following attributes:
*remote_addr_header*
instead
*
`remote_addr_header`
: HTTP header to use to obtain the remote
client address, when the request comes from a trusted forwarder
*
`http_server`
specifies standard parameters for the HTTP server:
*
`tls`
contains the server-side TLS configuration:
*
`cert`
is the path to the server certificate
*
`key`
is the path to the server's private key
*
`ca`
is the path to the CA used to validate clients
*
`acl`
specifies TLS-based access controls, a list of entries
with the following attributes:
*
`keystore`
: configures the connection to the keystore service
*
`backend_url`
: URL for the keystore service
*
`tls_config`
: client TLS configuration
*
`cert`
: path to the client certificate
*
`key`
: path to the private key
*
`ca`
: path to the CA used to validate the server
*
`http_server`
: specifies standard parameters for the HTTP server
*
`tls`
: server-side TLS configuration
*
`cert`
: path to the server certificate
*
`key`
: path to the server's private key
*
`ca`
: path to the CA used to validate clients
*
`acl`
: TLS-based access controls, a list of entries with the
following attributes:
*
`path`
is a regular expression to match the request URL path
*
`cn`
is a regular expression that must match the CommonName
part of the subject of the client certificate
...
...
@@ -78,6 +84,13 @@ accesses. This information is tracked by the
It is implemented very simply, with a long-term cookie stored in the
browser.
## Key store
On login, the login server can unlock the user's key store
(see
[
keystore
](
https://git.autistici.org/id/keystore
)
). The
associated key will be cleared either on logout, or when the login
session expires.
# API
...
...
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