mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(cli): drop 'notification' prefix for configuring email auth (#15270)
Closes https://github.com/coder/coder/issues/14644
This commit is contained in:
Generated
+142
-3
@@ -1249,6 +1249,148 @@ Refresh interval for healthchecks.
|
||||
|
||||
The threshold for the database health check. If the median latency of the database exceeds this threshold over 5 attempts, the database is considered unhealthy. The default value is 15ms.
|
||||
|
||||
### --email-from
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------ |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_FROM</code> |
|
||||
| YAML | <code>email.from</code> |
|
||||
|
||||
The sender's address to use.
|
||||
|
||||
### --email-smarthost
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------- |
|
||||
| Type | <code>host:port</code> |
|
||||
| Environment | <code>$CODER_EMAIL_SMARTHOST</code> |
|
||||
| YAML | <code>email.smarthost</code> |
|
||||
| Default | <code>localhost:587</code> |
|
||||
|
||||
The intermediary SMTP host through which emails are sent.
|
||||
|
||||
### --email-hello
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_HELLO</code> |
|
||||
| YAML | <code>email.hello</code> |
|
||||
| Default | <code>localhost</code> |
|
||||
|
||||
The hostname identifying the SMTP server.
|
||||
|
||||
### --email-force-tls
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_EMAIL_FORCE_TLS</code> |
|
||||
| YAML | <code>email.forceTLS</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Force a TLS connection to the configured SMTP smarthost.
|
||||
|
||||
### --email-auth-identity
|
||||
|
||||
| | |
|
||||
| ----------- | --------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_AUTH_IDENTITY</code> |
|
||||
| YAML | <code>email.emailAuth.identity</code> |
|
||||
|
||||
Identity to use with PLAIN authentication.
|
||||
|
||||
### --email-auth-username
|
||||
|
||||
| | |
|
||||
| ----------- | --------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_AUTH_USERNAME</code> |
|
||||
| YAML | <code>email.emailAuth.username</code> |
|
||||
|
||||
Username to use with PLAIN/LOGIN authentication.
|
||||
|
||||
### --email-auth-password
|
||||
|
||||
| | |
|
||||
| ----------- | --------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_AUTH_PASSWORD</code> |
|
||||
|
||||
Password to use with PLAIN/LOGIN authentication.
|
||||
|
||||
### --email-auth-password-file
|
||||
|
||||
| | |
|
||||
| ----------- | -------------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_AUTH_PASSWORD_FILE</code> |
|
||||
| YAML | <code>email.emailAuth.passwordFile</code> |
|
||||
|
||||
File from which to load password for use with PLAIN/LOGIN authentication.
|
||||
|
||||
### --email-tls-starttls
|
||||
|
||||
| | |
|
||||
| ----------- | -------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_STARTTLS</code> |
|
||||
| YAML | <code>email.emailTLS.startTLS</code> |
|
||||
|
||||
Enable STARTTLS to upgrade insecure SMTP connections using TLS.
|
||||
|
||||
### --email-tls-server-name
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_SERVERNAME</code> |
|
||||
| YAML | <code>email.emailTLS.serverName</code> |
|
||||
|
||||
Server name to verify against the target certificate.
|
||||
|
||||
### --email-tls-skip-verify
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_SKIPVERIFY</code> |
|
||||
| YAML | <code>email.emailTLS.insecureSkipVerify</code> |
|
||||
|
||||
Skip verification of the target server's certificate (insecure).
|
||||
|
||||
### --email-tls-ca-cert-file
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_CACERTFILE</code> |
|
||||
| YAML | <code>email.emailTLS.caCertFile</code> |
|
||||
|
||||
CA certificate file to use.
|
||||
|
||||
### --email-tls-cert-file
|
||||
|
||||
| | |
|
||||
| ----------- | -------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_CERTFILE</code> |
|
||||
| YAML | <code>email.emailTLS.certFile</code> |
|
||||
|
||||
Certificate file to use.
|
||||
|
||||
### --email-tls-cert-key-file
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL_TLS_CERTKEYFILE</code> |
|
||||
| YAML | <code>email.emailTLS.certKeyFile</code> |
|
||||
|
||||
Certificate key file to use.
|
||||
|
||||
### --notifications-method
|
||||
|
||||
| | |
|
||||
@@ -1288,7 +1430,6 @@ The sender's address to use.
|
||||
| Type | <code>host:port</code> |
|
||||
| Environment | <code>$CODER_NOTIFICATIONS_EMAIL_SMARTHOST</code> |
|
||||
| YAML | <code>notifications.email.smarthost</code> |
|
||||
| Default | <code>localhost:587</code> |
|
||||
|
||||
The intermediary SMTP host through which emails are sent.
|
||||
|
||||
@@ -1299,7 +1440,6 @@ The intermediary SMTP host through which emails are sent.
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_NOTIFICATIONS_EMAIL_HELLO</code> |
|
||||
| YAML | <code>notifications.email.hello</code> |
|
||||
| Default | <code>localhost</code> |
|
||||
|
||||
The hostname identifying the SMTP server.
|
||||
|
||||
@@ -1310,7 +1450,6 @@ The hostname identifying the SMTP server.
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_NOTIFICATIONS_EMAIL_FORCE_TLS</code> |
|
||||
| YAML | <code>notifications.email.forceTLS</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Force a TLS connection to the configured SMTP smarthost.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user