Field | Tracked |
---|---|
created_at | true |
expires_at | true |
hashed_secret | false |
id | false |
ip_address | false |
last_used | true |
lifetime_seconds | false |
login_type | false |
scope | false |
token_name | false |
updated_at | false |
user_id | true |
Field | Tracked |
---|---|
created_at | true |
expires_at | true |
from_login_type | true |
to_login_type | true |
user_id | true |
Field | Tracked |
---|---|
avatar_url | true |
display_name | true |
id | true |
members | true |
name | true |
organization_id | false |
quota_allowance | true |
source | false |
Field | Tracked |
---|---|
created_at | false |
private_key | true |
public_key | true |
updated_at | false |
user_id | true |
Field | Tracked |
---|---|
dismissed_healthchecks | true |
id | false |
Field | Tracked |
---|---|
exp | true |
id | false |
jwt | false |
uploaded_at | true |
uuid | true |
Field | Tracked |
---|---|
callback_url | true |
created_at | false |
icon | true |
id | false |
name | true |
updated_at | false |
Field | Tracked |
---|---|
app_id | false |
created_at | false |
display_secret | false |
hashed_secret | false |
id | false |
last_used_at | false |
secret_prefix | false |
Field | Tracked |
---|---|
active_version_id | true |
activity_bump | true |
allow_user_autostart | true |
allow_user_autostop | true |
allow_user_cancel_workspace_jobs | true |
autostart_block_days_of_week | true |
autostop_requirement_days_of_week | true |
autostop_requirement_weeks | true |
created_at | false |
created_by | true |
created_by_avatar_url | false |
created_by_username | false |
default_ttl | true |
deleted | false |
deprecated | true |
description | true |
display_name | true |
failure_ttl | true |
group_acl | true |
icon | true |
id | true |
max_port_sharing_level | true |
name | true |
organization_id | false |
provisioner | true |
require_active_version | true |
time_til_dormant | true |
time_til_dormant_autodelete | true |
updated_at | false |
user_acl | true |
Field | Tracked |
---|---|
archived | true |
created_at | false |
created_by | true |
created_by_avatar_url | false |
created_by_username | false |
external_auth_providers | false |
id | true |
job_id | false |
message | false |
name | true |
organization_id | false |
readme | true |
template_id | true |
updated_at | false |
Field | Tracked |
---|---|
avatar_url | false |
created_at | false |
deleted | true |
true | |
hashed_password | true |
id | true |
last_seen_at | false |
login_type | true |
name | true |
quiet_hours_schedule | true |
rbac_roles | true |
status | true |
theme_preference | false |
updated_at | false |
username | true |
Field | Tracked |
---|---|
automatic_updates | true |
autostart_schedule | true |
created_at | false |
deleted | false |
deleting_at | true |
dormant_at | true |
favorite | true |
id | true |
last_used_at | false |
name | true |
organization_id | false |
owner_id | true |
template_id | true |
ttl | true |
updated_at | false |
Field | Tracked |
---|---|
build_number | false |
created_at | false |
daily_cost | false |
deadline | false |
id | false |
initiator_by_avatar_url | false |
initiator_by_username | false |
initiator_id | false |
job_id | false |
max_deadline | false |
provisioner_state | false |
reason | false |
template_version_id | true |
transition | false |
updated_at | false |
workspace_id | false |
Field | Tracked |
---|---|
created_at | true |
deleted | false |
derp_enabled | true |
derp_only | true |
display_name | true |
icon | true |
id | true |
name | true |
region_id | true |
token_hashed_secret | true |
updated_at | false |
url | true |
version | true |
wildcard_hostname | true |
Field | Tracked |
---|---|
created_at | true |
expires_at | true |
hashed_secret | false |
id | false |
ip_address | false |
last_used | true |
lifetime_seconds | false |
login_type | false |
scope | false |
token_name | false |
updated_at | false |
user_id | true |
Field | Tracked |
---|---|
created_at | true |
expires_at | true |
from_login_type | true |
to_login_type | true |
user_id | true |
Field | Tracked |
---|---|
avatar_url | true |
display_name | true |
id | true |
members | true |
name | true |
organization_id | false |
quota_allowance | true |
source | false |
Field | Tracked |
---|---|
created_at | true |
organization_id | false |
roles | true |
updated_at | true |
user_id | true |
username | true |
Field | Tracked |
---|---|
created_at | false |
display_name | true |
id | false |
name | true |
org_permissions | true |
organization_id | false |
site_permissions | true |
updated_at | false |
user_permissions | true |
Field | Tracked |
---|---|
created_at | false |
private_key | true |
public_key | true |
updated_at | false |
user_id | true |
Field | Tracked |
---|---|
dismissed_healthchecks | true |
id | false |
Field | Tracked |
---|---|
exp | true |
id | false |
jwt | false |
uploaded_at | true |
uuid | true |
Field | Tracked |
---|---|
id | false |
notifier_paused | true |
Field | Tracked |
---|---|
callback_url | true |
created_at | false |
icon | true |
id | false |
name | true |
updated_at | false |
Field | Tracked |
---|---|
app_id | false |
created_at | false |
display_secret | false |
hashed_secret | false |
id | false |
last_used_at | false |
secret_prefix | false |
Field | Tracked |
---|---|
created_at | false |
description | true |
display_name | true |
icon | true |
id | false |
is_default | true |
name | true |
updated_at | true |
Field | Tracked |
---|---|
active_version_id | true |
activity_bump | true |
allow_user_autostart | true |
allow_user_autostop | true |
allow_user_cancel_workspace_jobs | true |
autostart_block_days_of_week | true |
autostop_requirement_days_of_week | true |
autostop_requirement_weeks | true |
created_at | false |
created_by | true |
created_by_avatar_url | false |
created_by_username | false |
default_ttl | true |
deleted | false |
deprecated | true |
description | true |
display_name | true |
failure_ttl | true |
group_acl | true |
icon | true |
id | true |
max_port_sharing_level | true |
name | true |
organization_display_name | false |
organization_icon | false |
organization_id | false |
organization_name | false |
provisioner | true |
require_active_version | true |
time_til_dormant | true |
time_til_dormant_autodelete | true |
updated_at | false |
user_acl | true |
Field | Tracked |
---|---|
archived | true |
created_at | false |
created_by | true |
created_by_avatar_url | false |
created_by_username | false |
external_auth_providers | false |
id | true |
job_id | false |
message | false |
name | true |
organization_id | false |
readme | true |
template_id | true |
updated_at | false |
Field | Tracked |
---|---|
avatar_url | false |
created_at | false |
deleted | true |
true | |
github_com_user_id | false |
hashed_password | true |
id | true |
last_seen_at | false |
login_type | true |
name | true |
quiet_hours_schedule | true |
rbac_roles | true |
status | true |
theme_preference | false |
updated_at | false |
username | true |
Field | Tracked |
---|---|
automatic_updates | true |
autostart_schedule | true |
created_at | false |
deleted | false |
deleting_at | true |
dormant_at | true |
favorite | true |
id | true |
last_used_at | false |
name | true |
organization_id | false |
owner_id | true |
template_id | true |
ttl | true |
updated_at | false |
Field | Tracked |
---|---|
build_number | false |
created_at | false |
daily_cost | false |
deadline | false |
id | false |
initiator_by_avatar_url | false |
initiator_by_username | false |
initiator_id | false |
job_id | false |
max_deadline | false |
provisioner_state | false |
reason | false |
template_version_id | true |
transition | false |
updated_at | false |
workspace_id | false |
Field | Tracked |
---|---|
created_at | true |
deleted | false |
derp_enabled | true |
derp_only | true |
display_name | true |
icon | true |
id | true |
name | true |
region_id | true |
token_hashed_secret | true |
updated_at | false |
url | true |
version | true |
wildcard_hostname | true |
login
](./cli/login.md) | Authenticate with Coder deployment |
| [logout
](./cli/logout.md) | Unauthenticate your local session |
| [netcheck
](./cli/netcheck.md) | Print network debug information for DERP and STUN |
+| [notifications
](./cli/notifications.md) | Manage Coder notifications |
| [port-forward
](./cli/port-forward.md) | Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R". |
| [publickey
](./cli/publickey.md) | Output your Coder public key used for Git operations |
| [reset-password
](./cli/reset-password.md) | Directly connect to the database to reset a user's password |
@@ -57,6 +58,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
| [stop
](./cli/stop.md) | Stop a workspace |
| [unfavorite
](./cli/unfavorite.md) | Remove a workspace from your favorites |
| [update
](./cli/update.md) | Will update and start a given workspace if it is out of date |
+| [whoami
](./cli/whoami.md) | Fetch authenticated user info for Coder deployment |
| [support
](./cli/support.md) | Commands for troubleshooting issues with a Coder deployment. |
| [server
](./cli/server.md) | Start a Coder server |
| [features
](./cli/features.md) | List Enterprise features |
@@ -149,6 +151,18 @@ Enable verbose output.
Disable direct (P2P) connections to workspaces.
+### --disable-network-telemetry
+
+| | |
+| ----------- | --------------------------------------------- |
+| Type | bool
|
+| Environment | $CODER_DISABLE_NETWORK_TELEMETRY
|
+
+Disable network telemetry. Network telemetry is collected when connecting to
+workspaces using the CLI, and is forwarded to the server. If telemetry is also
+enabled on the server, it may be sent to Coder. Network telemetry is used to
+measure network quality and detect regressions.
+
### --global-config
| | |
diff --git a/docs/cli/create.md b/docs/cli/create.md
index 53f90751513d2..aefaf4d316d0b 100644
--- a/docs/cli/create.md
+++ b/docs/cli/create.md
@@ -100,3 +100,12 @@ Specify a file path with values for rich parameters defined in the template.
| Environment | $CODER_RICH_PARAMETER_DEFAULT
|
Rich parameter default values in the format "name=value".
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/groups_create.md b/docs/cli/groups_create.md
index dd51ed7233a9a..e758b422ea387 100644
--- a/docs/cli/groups_create.md
+++ b/docs/cli/groups_create.md
@@ -29,3 +29,12 @@ Set an avatar for a group.
| Environment | $CODER_DISPLAY_NAME
|
Optional human friendly name for the group.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/groups_delete.md b/docs/cli/groups_delete.md
index f57faff0b9f59..7bbf215ae2f29 100644
--- a/docs/cli/groups_delete.md
+++ b/docs/cli/groups_delete.md
@@ -11,5 +11,16 @@ Aliases:
## Usage
```console
-coder groups delete string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/groups_edit.md b/docs/cli/groups_edit.md
index 2006ba85abd4d..f7c39c58e1d24 100644
--- a/docs/cli/groups_edit.md
+++ b/docs/cli/groups_edit.md
@@ -52,3 +52,12 @@ Add users to the group. Accepts emails or IDs.
| Type | string-array
|
Remove users to the group. Accepts emails or IDs.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/groups_list.md b/docs/cli/groups_list.md
index 5f9e184f3995d..04d9fe726adfd 100644
--- a/docs/cli/groups_list.md
+++ b/docs/cli/groups_list.md
@@ -29,3 +29,12 @@ Columns to display in table output. Available columns: name, display name, organ
| Default | table
|
Output format. Available formats: table, json.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/list.md b/docs/cli/list.md
index 2c67fac0f927e..e64adf399dd6a 100644
--- a/docs/cli/list.md
+++ b/docs/cli/list.md
@@ -40,7 +40,7 @@ Search for a workspace with a query.
| Type | string-array
|
| Default | workspace,template,status,healthy,last built,current version,outdated,starts at,stops after
|
-Columns to display in table output. Available columns: favorite, workspace, template, status, healthy, last built, current version, outdated, starts at, starts next, stops after, stops next, daily cost.
+Columns to display in table output. Available columns: favorite, workspace, organization id, organization name, template, status, healthy, last built, current version, outdated, starts at, starts next, stops after, stops next, daily cost.
### -o, --output
diff --git a/docs/cli/login.md b/docs/cli/login.md
index 8dab8a884149c..9a27e4a6357c8 100644
--- a/docs/cli/login.md
+++ b/docs/cli/login.md
@@ -30,6 +30,15 @@ Specifies an email address to use if creating the first user for the deployment.
Specifies a username to use if creating the first user for the deployment.
+### --first-user-full-name
+
+| | |
+| ----------- | ---------------------------------------- |
+| Type | string
|
+| Environment | $CODER_FIRST_USER_FULL_NAME
|
+
+Specifies a human-readable name for the first user of the deployment.
+
### --first-user-password
| | |
diff --git a/docs/cli/notifications.md b/docs/cli/notifications.md
new file mode 100644
index 0000000000000..59e74b4324357
--- /dev/null
+++ b/docs/cli/notifications.md
@@ -0,0 +1,37 @@
+
+
+# notifications
+
+Manage Coder notifications
+
+Aliases:
+
+- notification
+
+## Usage
+
+```console
+coder notifications
+```
+
+## Description
+
+```console
+Administrators can use these commands to change notification settings.
+ - Pause Coder notifications. Administrators can temporarily stop notifiers from
+dispatching messages in case of the target outage (for example: unavailable SMTP
+server or Webhook not responding).:
+
+ $ coder notifications pause
+
+ - Resume Coder notifications:
+
+ $ coder notifications resume
+```
+
+## Subcommands
+
+| Name | Purpose |
+| ------------------------------------------------ | -------------------- |
+| [pause
](./notifications_pause.md) | Pause notifications |
+| [resume
](./notifications_resume.md) | Resume notifications |
diff --git a/docs/cli/notifications_pause.md b/docs/cli/notifications_pause.md
new file mode 100644
index 0000000000000..0cb2b101d474c
--- /dev/null
+++ b/docs/cli/notifications_pause.md
@@ -0,0 +1,11 @@
+
+
+# notifications pause
+
+Pause notifications
+
+## Usage
+
+```console
+coder notifications pause
+```
diff --git a/docs/cli/notifications_resume.md b/docs/cli/notifications_resume.md
new file mode 100644
index 0000000000000..a8dc17453a383
--- /dev/null
+++ b/docs/cli/notifications_resume.md
@@ -0,0 +1,11 @@
+
+
+# notifications resume
+
+Resume notifications
+
+## Usage
+
+```console
+coder notifications resume
+```
diff --git a/docs/cli/provisionerd.md b/docs/cli/provisionerd.md
index 21af8ff547fcb..44168c53a602d 100644
--- a/docs/cli/provisionerd.md
+++ b/docs/cli/provisionerd.md
@@ -4,6 +4,10 @@
Manage provisioner daemons
+Aliases:
+
+- provisioner
+
## Usage
```console
diff --git a/docs/cli/provisionerd_start.md b/docs/cli/provisionerd_start.md
index b781a4b5fe800..c3ccccbd0e1a1 100644
--- a/docs/cli/provisionerd_start.md
+++ b/docs/cli/provisionerd_start.md
@@ -135,3 +135,12 @@ Serve prometheus metrics on the address defined by prometheus address.
| Default | 127.0.0.1:2112
|
The bind address to serve prometheus metrics.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/server.md b/docs/cli/server.md
index a7c32c2d78420..90034e14b2cc7 100644
--- a/docs/cli/server.md
+++ b/docs/cli/server.md
@@ -514,6 +514,17 @@ Ignore the email_verified claim from the upstream provider.
OIDC claim field to use as the username.
+### --oidc-name-field
+
+| | |
+| ----------- | ----------------------------------- |
+| Type | string
|
+| Environment | $CODER_OIDC_NAME_FIELD
|
+| YAML | oidc.nameField
|
+| Default | name
|
+
+OIDC claim field to use as the name.
+
### --oidc-email-field
| | |
@@ -662,6 +673,16 @@ URL pointing to the icon to use on the OpenID Connect login button.
The custom text to show on the error page informing about disabled OIDC signups. Markdown format is supported.
+### --dangerous-oidc-skip-issuer-checks
+
+| | |
+| ----------- | ----------------------------------------------------- |
+| Type | bool
|
+| Environment | $CODER_DANGEROUS_OIDC_SKIP_ISSUER_CHECKS
|
+| YAML | oidc.dangerousSkipIssuerChecks
|
+
+OIDC issuer urls must match in the request, the id_token 'iss' claim, and in the well-known configuration. This flag disables that requirement, and can lead to an insecure OIDC configuration. It is not recommended to use this flag.
+
### --telemetry
| | |
@@ -1183,3 +1204,189 @@ Refresh interval for healthchecks.
| Default | 15ms
|
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.
+
+### --notifications-method
+
+| | |
+| ----------- | ---------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_METHOD
|
+| YAML | notifications.method
|
+| Default | smtp
|
+
+Which delivery method to use (available options: 'smtp', 'webhook').
+
+### --notifications-dispatch-timeout
+
+| | |
+| ----------- | -------------------------------------------------- |
+| Type | duration
|
+| Environment | $CODER_NOTIFICATIONS_DISPATCH_TIMEOUT
|
+| YAML | notifications.dispatchTimeout
|
+| Default | 1m0s
|
+
+How long to wait while a notification is being sent before giving up.
+
+### --notifications-email-from
+
+| | |
+| ----------- | -------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_FROM
|
+| YAML | notifications.email.from
|
+
+The sender's address to use.
+
+### --notifications-email-smarthost
+
+| | |
+| ----------- | ------------------------------------------------- |
+| Type | host:port
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_SMARTHOST
|
+| YAML | notifications.email.smarthost
|
+| Default | localhost:587
|
+
+The intermediary SMTP host through which emails are sent.
+
+### --notifications-email-hello
+
+| | |
+| ----------- | --------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_HELLO
|
+| YAML | notifications.email.hello
|
+| Default | localhost
|
+
+The hostname identifying the SMTP server.
+
+### --notifications-email-force-tls
+
+| | |
+| ----------- | ------------------------------------------------- |
+| Type | bool
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_FORCE_TLS
|
+| YAML | notifications.email.forceTLS
|
+| Default | false
|
+
+Force a TLS connection to the configured SMTP smarthost.
+
+### --notifications-email-auth-identity
+
+| | |
+| ----------- | ----------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_AUTH_IDENTITY
|
+| YAML | notifications.email.emailAuth.identity
|
+
+Identity to use with PLAIN authentication.
+
+### --notifications-email-auth-username
+
+| | |
+| ----------- | ----------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_AUTH_USERNAME
|
+| YAML | notifications.email.emailAuth.username
|
+
+Username to use with PLAIN/LOGIN authentication.
+
+### --notifications-email-auth-password
+
+| | |
+| ----------- | ----------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_AUTH_PASSWORD
|
+| YAML | notifications.email.emailAuth.password
|
+
+Password to use with PLAIN/LOGIN authentication.
+
+### --notifications-email-auth-password-file
+
+| | |
+| ----------- | ---------------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_AUTH_PASSWORD_FILE
|
+| YAML | notifications.email.emailAuth.passwordFile
|
+
+File from which to load password for use with PLAIN/LOGIN authentication.
+
+### --notifications-email-tls-starttls
+
+| | |
+| ----------- | ---------------------------------------------------- |
+| Type | bool
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_STARTTLS
|
+| YAML | notifications.email.emailTLS.startTLS
|
+
+Enable STARTTLS to upgrade insecure SMTP connections using TLS.
+
+### --notifications-email-tls-server-name
+
+| | |
+| ----------- | ------------------------------------------------------ |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_SERVERNAME
|
+| YAML | notifications.email.emailTLS.serverName
|
+
+Server name to verify against the target certificate.
+
+### --notifications-email-tls-skip-verify
+
+| | |
+| ----------- | ------------------------------------------------------------ |
+| Type | bool
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_SKIPVERIFY
|
+| YAML | notifications.email.emailTLS.insecureSkipVerify
|
+
+Skip verification of the target server's certificate (insecure).
+
+### --notifications-email-tls-ca-cert-file
+
+| | |
+| ----------- | ------------------------------------------------------ |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_CACERTFILE
|
+| YAML | notifications.email.emailTLS.caCertFile
|
+
+CA certificate file to use.
+
+### --notifications-email-tls-cert-file
+
+| | |
+| ----------- | ---------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_CERTFILE
|
+| YAML | notifications.email.emailTLS.certFile
|
+
+Certificate file to use.
+
+### --notifications-email-tls-cert-key-file
+
+| | |
+| ----------- | ------------------------------------------------------- |
+| Type | string
|
+| Environment | $CODER_NOTIFICATIONS_EMAIL_TLS_CERTKEYFILE
|
+| YAML | notifications.email.emailTLS.certKeyFile
|
+
+Certificate key file to use.
+
+### --notifications-webhook-endpoint
+
+| | |
+| ----------- | -------------------------------------------------- |
+| Type | url
|
+| Environment | $CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT
|
+| YAML | notifications.webhook.endpoint
|
+
+The endpoint to which to send webhooks.
+
+### --notifications-max-send-attempts
+
+| | |
+| ----------- | --------------------------------------------------- |
+| Type | int
|
+| Environment | $CODER_NOTIFICATIONS_MAX_SEND_ATTEMPTS
|
+| YAML | notifications.maxSendAttempts
|
+| Default | 5
|
+
+The upper limit of attempts to send a notification.
diff --git a/docs/cli/speedtest.md b/docs/cli/speedtest.md
index e2d3a435fb0ea..ab9d9a4f7e49c 100644
--- a/docs/cli/speedtest.md
+++ b/docs/cli/speedtest.md
@@ -45,3 +45,21 @@ Specifies the duration to monitor traffic.
| Type | string
|
Specifies a file to write a network capture to.
+
+### -c, --column
+
+| | |
+| ------- | -------------------------------- |
+| Type | string-array
|
+| Default | Interval,Throughput
|
+
+Columns to display in table output. Available columns: Interval, Throughput.
+
+### -o, --output
+
+| | |
+| ------- | ------------------- |
+| Type | string
|
+| Default | table
|
+
+Output format. Available formats: table, json.
diff --git a/docs/cli/templates.md b/docs/cli/templates.md
index c8a0b4376e410..9f3936daf787f 100644
--- a/docs/cli/templates.md
+++ b/docs/cli/templates.md
@@ -18,10 +18,6 @@ coder templates
```console
Templates are written in standard Terraform and describe the infrastructure for workspaces
- - Make changes to your template, and plan the changes:
-
- $ coder templates plan my-template
-
- Create or push an update to the template. Your developers can update their
workspaces:
diff --git a/docs/cli/templates_archive.md b/docs/cli/templates_archive.md
index 04f6d65927a08..a229222addf88 100644
--- a/docs/cli/templates_archive.md
+++ b/docs/cli/templates_archive.md
@@ -27,3 +27,12 @@ Bypass prompts.
| Type | bool
|
Include all unused template versions. By default, only failed template versions are archived.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_create.md b/docs/cli/templates_create.md
index de15a9fb905f8..c2ab11bd4916f 100644
--- a/docs/cli/templates_create.md
+++ b/docs/cli/templates_create.md
@@ -105,6 +105,15 @@ Requires workspace builds to use the active template version. This setting does
Bypass prompts.
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
+
### -d, --directory
| | |
diff --git a/docs/cli/templates_delete.md b/docs/cli/templates_delete.md
index aad8ac207f071..55730c7d609d8 100644
--- a/docs/cli/templates_delete.md
+++ b/docs/cli/templates_delete.md
@@ -23,3 +23,12 @@ coder templates delete [flags] [name...]
| Type | bool
|
Bypass prompts.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_edit.md b/docs/cli/templates_edit.md
index 45851225f129a..0e47a9b9be6bc 100644
--- a/docs/cli/templates_edit.md
+++ b/docs/cli/templates_edit.md
@@ -171,3 +171,12 @@ Disable the default behavior of granting template access to the 'everyone' group
| Type | bool
|
Bypass prompts.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_list.md b/docs/cli/templates_list.md
index 7e418e32c35c2..24eb51fe64e6a 100644
--- a/docs/cli/templates_list.md
+++ b/docs/cli/templates_list.md
@@ -18,12 +18,12 @@ coder templates list [flags]
### -c, --column
-| | |
-| ------- | -------------------------------------- |
-| Type | string-array
|
-| Default | name,last updated,used by
|
+| | |
+| ------- | -------------------------------------------------------- |
+| Type | string-array
|
+| Default | name,organization name,last updated,used by
|
-Columns to display in table output. Available columns: name, created at, last updated, organization id, provisioner, active version id, used by, default ttl.
+Columns to display in table output. Available columns: name, created at, last updated, organization id, organization name, provisioner, active version id, used by, default ttl.
### -o, --output
diff --git a/docs/cli/templates_pull.md b/docs/cli/templates_pull.md
index ab99df094ef30..3678426fd098e 100644
--- a/docs/cli/templates_pull.md
+++ b/docs/cli/templates_pull.md
@@ -43,3 +43,12 @@ The name of the template version to pull. Use 'active' to pull the active versio
| Type | bool
|
Bypass prompts.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_push.md b/docs/cli/templates_push.md
index aea080a28d186..e56528841ebda 100644
--- a/docs/cli/templates_push.md
+++ b/docs/cli/templates_push.md
@@ -102,3 +102,12 @@ Ignore warnings about not having a .terraform.lock.hcl file present in the templ
| Type | string
|
Specify a message describing the changes in this version of the template. Messages longer than 72 characters will be displayed as truncated.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_versions_archive.md b/docs/cli/templates_versions_archive.md
index 3921f6d0032b5..d6053db9ca185 100644
--- a/docs/cli/templates_versions_archive.md
+++ b/docs/cli/templates_versions_archive.md
@@ -19,3 +19,12 @@ coder templates versions archive [flags] bool
|
Bypass prompts.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/templates_versions_list.md b/docs/cli/templates_versions_list.md
index 2c6544569dcba..ca42bce770515 100644
--- a/docs/cli/templates_versions_list.md
+++ b/docs/cli/templates_versions_list.md
@@ -20,6 +20,15 @@ coder templates versions list [flags]
Include archived versions in the result list.
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
+
### -c, --column
| | |
diff --git a/docs/cli/templates_versions_unarchive.md b/docs/cli/templates_versions_unarchive.md
index eeedfe26c4d48..7b8d15b4ea21c 100644
--- a/docs/cli/templates_versions_unarchive.md
+++ b/docs/cli/templates_versions_unarchive.md
@@ -19,3 +19,12 @@ coder templates versions unarchive [flags] bool
|
Bypass prompts.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/users_create.md b/docs/cli/users_create.md
index 3934f2482ac02..368f049e0a91d 100644
--- a/docs/cli/users_create.md
+++ b/docs/cli/users_create.md
@@ -26,6 +26,14 @@ Specifies an email address for the new user.
Specifies a username for the new user.
+### -n, --full-name
+
+| | |
+| ---- | ------------------- |
+| Type | string
|
+
+Specifies an optional human-readable name for the new user.
+
### -p, --password
| | |
@@ -41,3 +49,12 @@ Specifies a password for the new user.
| Type | string
|
Optionally specify the login type for the user. Valid values are: password, none, github, oidc. Using 'none' prevents the user from authenticating and requires an API key/token to be generated by an admin.
+
+### -O, --org
+
+| | |
+| ----------- | -------------------------------- |
+| Type | string
|
+| Environment | $CODER_ORGANIZATION
|
+
+Select which organization (uuid or name) to use.
diff --git a/docs/cli/users_list.md b/docs/cli/users_list.md
index 3ffda880c6dc6..1a7a10b20d057 100644
--- a/docs/cli/users_list.md
+++ b/docs/cli/users_list.md
@@ -21,7 +21,7 @@ coder users list [flags]
| Type | string-array
|
| Default | username,email,created_at,status
|
-Columns to display in table output. Available columns: id, username, email, created at, status.
+Columns to display in table output. Available columns: id, username, email, created at, updated at, status.
### -o, --output
diff --git a/docs/cli/whoami.md b/docs/cli/whoami.md
new file mode 100644
index 0000000000000..7e2736d454bf4
--- /dev/null
+++ b/docs/cli/whoami.md
@@ -0,0 +1,11 @@
+
+
+# whoami
+
+Fetch authenticated user info for Coder deployment
+
+## Usage
+
+```console
+coder whoami
+```
diff --git a/docs/contributing/feature-stages.md b/docs/contributing/feature-stages.md
index 25b37bbc01863..40926932ca28e 100644
--- a/docs/contributing/feature-stages.md
+++ b/docs/contributing/feature-stages.md
@@ -27,5 +27,12 @@ coder server --experiments=feature1,feature2
# Alternatively, use the `CODER_EXPERIMENTS` environment variable.
```
-For a list of all experiments, refer to the
-[codersdk reference](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#Experiment).
+## Available experimental features
+
+
+
+
+Currently no experimental features are available in the latest mainline or
+stable release.
+
+
diff --git a/docs/faqs.md b/docs/faqs.md
index 9ee9d30ef26e1..8e12b84955279 100644
--- a/docs/faqs.md
+++ b/docs/faqs.md
@@ -37,7 +37,7 @@ The primary developer use case is a local IDE connecting over SSH to a Coder
workspace.
Coder's networking stack has intelligence to attempt a peer-to-peer or
-[Direct connection](https://coder.com/docs/v2/latest/networking#direct-connections)
+[Direct connection](https://coder.com/docs/networking#direct-connections)
between the local IDE and the workspace. However, this requires some additional
protocols like UDP and being able to reach a STUN server to echo the IP
addresses of the local IDE machine and workspace, for sharing using a Wireguard
@@ -52,11 +52,11 @@ to establish these direct connections.
Setting the following flags as shown disables this logic to simplify
troubleshooting.
-| Flag | Value | Meaning |
-| -------------------------------------------------------------------------------------------------------------- | ----------- | ------------------------------------- |
-| [`CODER_BLOCK_DIRECT`](https://coder.com/docs/v2/latest/cli/server#--block-direct-connections) | `true` | Blocks direct connections |
-| [`CODER_DERP_SERVER_STUN_ADDRESSES`](https://coder.com/docs/v2/latest/cli/server#--derp-server-stun-addresses) | `"disable"` | Disables STUN |
-| [`CODER_DERP_FORCE_WEBSOCKETS`](https://coder.com/docs/v2/latest/cli/server#--derp-force-websockets) | `true` | Forces websockets over Tailscale DERP |
+| Flag | Value | Meaning |
+| ---------------------------------------------------------------------------------------------------- | ----------- | ------------------------------------- |
+| [`CODER_BLOCK_DIRECT`](https://coder.com/docs/cli/server#--block-direct-connections) | `true` | Blocks direct connections |
+| [`CODER_DERP_SERVER_STUN_ADDRESSES`](https://coder.com/docs/cli/server#--derp-server-stun-addresses) | `"disable"` | Disables STUN |
+| [`CODER_DERP_FORCE_WEBSOCKETS`](https://coder.com/docs/cli/server#--derp-force-websockets) | `true` | Forces websockets over Tailscale DERP |
### How do I configure NGINX as the reverse proxy in front of Coder?
@@ -118,8 +118,7 @@ resource "coder_app" "code-server" {
An important concept to understand is that Coder creates workspaces which have
an agent that must be able to reach the `coder server`.
-If the
-[`CODER_ACCESS_URL`](https://coder.com/docs/v2/latest/admin/configure#access-url)
+If the [`CODER_ACCESS_URL`](https://coder.com/docs/admin/configure#access-url)
is not accessible from a workspace, the workspace may build, but the agent
cannot reach Coder, and thus the missing icons. e.g., Terminal, IDEs, Apps.
@@ -149,9 +148,9 @@ of these values can lead to existing workspaces failing to start. This issue
occurs because the Terraform state will not be in sync with the new template.
However, a lesser-known CLI sub-command,
-[`coder update`](https://coder.com/docs/v2/latest/cli/update), can resolve this
-issue. This command re-prompts users to re-enter the input variables,
-potentially saving the workspace from a failed status.
+[`coder update`](https://coder.com/docs/cli/update), can resolve this issue.
+This command re-prompts users to re-enter the input variables, potentially
+saving the workspace from a failed status.
```sh
coder update --always-prompt