Skip to content

Commit

Permalink
[ldap] regenerate command line flag help for README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mostynb committed Aug 11, 2024
1 parent e3f5535 commit 7ab2cf0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,9 @@ OPTIONS:
[$BAZEL_REMOTE_TLS_KEY_FILE]
--allow_unauthenticated_reads If authentication is enabled
(--htpasswd_file, --tls_ca_file or --ldap.url), allow unauthenticated
clients read access. (default: false, i.e. if authentication is required,
read-only requests must also be authenticated)
[$BAZEL_REMOTE_UNAUTHENTICATED_READS]
(--htpasswd_file or --tls_ca_file), allow unauthenticated clients read
access. (default: false, ie if authentication is required, read-only
requests must also be authenticated) [$BAZEL_REMOTE_UNAUTHENTICATED_READS]
--idle_timeout value The maximum period of having received no request
after which the server will shut itself down. (default: 0s, ie disabled)
Expand Down Expand Up @@ -294,32 +293,28 @@ OPTIONS:
[$BAZEL_REMOTE_GCS_JSON_CREDENTIALS_FILE]
--ldap.url value The LDAP URL which may include a port. LDAP over SSL
(LDAPs) is supported.
[$BAZEL_REMOTE_LDAP_URL]
(LDAPs) is also supported. Note that this feature is currently considered
experimental. [$BAZEL_REMOTE_LDAP_URL]
--ldap.base_dn value The distinguished name of the search base.
[$BAZEL_REMOTE_LDAP_BASE_DN]
--ldap.bind_user value The user who is allowed to perform a search within
the base DN. If none is specified the connection and the search is
performed without an authentication. It is recommended to use a read-only
account.
[$BAZEL_REMOTE_LDAP_BIND_USER]
account. [$BAZEL_REMOTE_LDAP_BIND_USER]
--ldap.bind_password value The password of the bind user.
[$BAZEL_REMOTE_LDAP_BIND_PASSWORD]
--ldap.username_attribute value The user attribute of a connecting user.
(default: "uid")
[$BAZEL_REMOTE_LDAP_USER_ATTRIBUTE]
(default: "uid") [$BAZEL_REMOTE_LDAP_USER_ATTRIBUTE]
--ldap.groups value Filter clause for searching groups. This option can be
given multiple times and the groups are OR connected in the search query.
[$BAZEL_REMOTE_LDAP_GROUPS]
--ldap.groups_query value Filter clause for searching groups.
[$BAZEL_REMOTE_LDAP_GROUPS_QUERY]
--ldap.cache_time value The amount of time to cache a successful
authentication in seconds. (default 3600)
[$BAZEL_REMOTE_LDAP_CACHE_TIME]
authentication in seconds. (default: 3600) [$BAZEL_REMOTE_LDAP_CACHE_TIME]
--s3.endpoint value The S3/minio endpoint to use when using S3 proxy
backend. [$BAZEL_REMOTE_S3_ENDPOINT]
Expand Down
2 changes: 1 addition & 1 deletion utils/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func GetCliFlags() []cli.Flag {
&cli.StringFlag{
Name: "ldap.url",
Value: "",
Usage: "The LDAP URL which may include a port. LDAP over SSL (LDAPs) is supported.",
Usage: "The LDAP URL which may include a port. LDAP over SSL (LDAPs) is also supported. Note that this feature is currently considered experimental.",
EnvVars: []string{"BAZEL_REMOTE_LDAP_URL"},
},
&cli.StringFlag{
Expand Down

0 comments on commit 7ab2cf0

Please sign in to comment.