Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keystore
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
Container registry
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
keystore
Commits
50958198
Commit
50958198
authored
7 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Describe sharding-related attributes in config
parent
e805c115
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-1
4 additions, 1 deletion
README.md
dovecot/keyproxy.go
+3
-0
3 additions, 0 deletions
dovecot/keyproxy.go
with
7 additions
and
1 deletion
README.md
+
4
−
1
View file @
50958198
...
...
@@ -103,8 +103,11 @@ default from */etc/keystore/dovecot.yml*:
*
`ldap`
: LDAP backend configuration, see above
*
`keystore`
: configures the connection to 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
*
`cert`
: path to the client certificate
*
`key`
: path to the private key
*
`ca`
: path to the CA used to validate the server
*
`shard`
: shard identifier for the local host. Must be set if
keystore.sharded is true.
This diff is collapsed.
Click to expand it.
dovecot/keyproxy.go
+
3
−
0
View file @
50958198
...
...
@@ -28,6 +28,9 @@ type Database interface {
}
func
(
c
*
Config
)
check
()
error
{
if
c
.
Keystore
==
nil
{
return
errors
.
New
(
"missing keystore config"
)
}
if
c
.
LDAPConfig
==
nil
{
return
errors
.
New
(
"missing backend config"
)
}
...
...
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