@@ -138,12 +138,6 @@ Networking Flags:
138
138
"tls11", "tls12" or "tls13"
139
139
Consumes $CODER_TLS_MIN_VERSION
140
140
(default "tls12")
141
- --trace Whether application tracing data is
142
- collected. It exports to a backend
143
- configured by environment variables.
144
- See:
145
- https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md
146
- Consumes $CODER_TRACE_ENABLE
147
141
--update-check Periodically check for new releases
148
142
of Coder and inform the owner. The
149
143
check is performed once per day.
@@ -153,6 +147,19 @@ Networking Flags:
153
147
the form "*.example.com".
154
148
Consumes $CODER_WILDCARD_ACCESS_URL
155
149
Auth Flags:
150
+ --disable-password-auth coder server create-admin Disable password authentication.
151
+ This is recommended for security
152
+ purposes in production deployments
153
+ that rely on an identity provider.
154
+ Any user with the owner role will be
155
+ able to sign in with their password
156
+ regardless of this setting to avoid
157
+ potential lock out. If you are
158
+ locked out of your account, you can
159
+ use the coder server create-admin
160
+ command to create a new admin user
161
+ directly in the database.
162
+ Consumes $CODER_DISABLE_PASSWORD_AUTH
156
163
--disable-session-expiry-refresh Disable automatic session expiry
157
164
bumping due to activity. This forces
158
165
all sessions to become invalid after
@@ -261,6 +268,12 @@ Operability Flags:
261
268
address defined by prometheus
262
269
address.
263
270
Consumes $CODER_PROMETHEUS_ENABLE
271
+ --trace Whether application tracing data is
272
+ collected. It exports to a backend
273
+ configured by environment variables.
274
+ See:
275
+ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md
276
+ Consumes $CODER_TRACE_ENABLE
264
277
--trace-honeycomb-api-key string Enables trace exporting to
265
278
Honeycomb.io using the provided API
266
279
Key.
@@ -294,65 +307,12 @@ Provisioning Flags:
294
307
Consumes
295
308
$CODER_PROVISIONER_FORCE_CANCEL_INTERVAL (default 10m0s)
296
309
Other Flags:
297
- --api-rate-limit int Maximum number of requests per
298
- minute allowed to the API per user,
299
- or per IP address for
300
- unauthenticated users. Negative
301
- values mean no rate limit. Some API
302
- endpoints have separate strict rate
303
- limits regardless of this value to
304
- prevent denial-of-service or brute
305
- force attacks.
306
- Consumes $CODER_API_RATE_LIMIT
307
- (default 512)
308
310
--cache-dir string The directory to cache temporary
309
311
files. If unspecified and
310
312
$CACHE_DIRECTORY is set, it will be
311
313
used for compatibility with systemd.
312
314
Consumes $CODER_CACHE_DIRECTORY
313
315
(default "~/.cache/coder")
314
- --dangerous-allow-path-app-sharing Allow workspace apps that are not
315
- served from subdomains to be shared.
316
- Path-based app sharing is DISABLED
317
- by default for security purposes.
318
- Path-based apps can make requests to
319
- the Coder API and pose a security
320
- risk when the workspace serves
321
- malicious JavaScript. Path-based
322
- apps can be disabled entirely with
323
- --disable-path-apps for further
324
- security.
325
- Consumes
326
- $CODER_DANGEROUS_ALLOW_PATH_APP_SHARING
327
- --dangerous-allow-path-app-site-owner-access Allow site-owners to access
328
- workspace apps from workspaces they
329
- do not own. Owners cannot access
330
- path-based apps they do not own by
331
- default. Path-based apps can make
332
- requests to the Coder API and pose a
333
- security risk when the workspace
334
- serves malicious JavaScript.
335
- Path-based apps can be disabled
336
- entirely with --disable-path-apps
337
- for further security.
338
- Consumes
339
- $CODER_DANGEROUS_ALLOW_PATH_APP_SITE_OWNER_ACCESS
340
- --dangerous-disable-rate-limits Disables all rate limits. This is
341
- not recommended in production.
342
- Consumes $CODER_RATE_LIMIT_DISABLE_ALL
343
- --disable-password-auth coder server create-admin Disable password authentication.
344
- This is recommended for security
345
- purposes in production deployments
346
- that rely on an identity provider.
347
- Any user with the owner role will be
348
- able to sign in with their password
349
- regardless of this setting to avoid
350
- potential lock out. If you are
351
- locked out of your account, you can
352
- use the coder server create-admin
353
- command to create a new admin user
354
- directly in the database.
355
- Consumes $CODER_DISABLE_PASSWORD_AUTH
356
316
--disable-path-apps Disable workspace apps that are not
357
317
served from subdomains. Path-based
358
318
apps can make requests to the Coder
0 commit comments