mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add PSK for external provisionerd auth (#8877)
Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
Generated
+1
@@ -305,6 +305,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
|
||||
"provisioner": {
|
||||
"daemon_poll_interval": 0,
|
||||
"daemon_poll_jitter": 0,
|
||||
"daemon_psk": "string",
|
||||
"daemons": 0,
|
||||
"daemons_echo": true,
|
||||
"force_cancel_interval": 0
|
||||
|
||||
Generated
+4
@@ -2099,6 +2099,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"provisioner": {
|
||||
"daemon_poll_interval": 0,
|
||||
"daemon_poll_jitter": 0,
|
||||
"daemon_psk": "string",
|
||||
"daemons": 0,
|
||||
"daemons_echo": true,
|
||||
"force_cancel_interval": 0
|
||||
@@ -2456,6 +2457,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"provisioner": {
|
||||
"daemon_poll_interval": 0,
|
||||
"daemon_poll_jitter": 0,
|
||||
"daemon_psk": "string",
|
||||
"daemons": 0,
|
||||
"daemons_echo": true,
|
||||
"force_cancel_interval": 0
|
||||
@@ -3485,6 +3487,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
{
|
||||
"daemon_poll_interval": 0,
|
||||
"daemon_poll_jitter": 0,
|
||||
"daemon_psk": "string",
|
||||
"daemons": 0,
|
||||
"daemons_echo": true,
|
||||
"force_cancel_interval": 0
|
||||
@@ -3497,6 +3500,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
| ----------------------- | ------- | -------- | ------------ | ----------- |
|
||||
| `daemon_poll_interval` | integer | false | | |
|
||||
| `daemon_poll_jitter` | integer | false | | |
|
||||
| `daemon_psk` | string | false | | |
|
||||
| `daemons` | integer | false | | |
|
||||
| `daemons_echo` | boolean | false | | |
|
||||
| `force_cancel_interval` | integer | false | | |
|
||||
|
||||
Generated
+9
@@ -42,6 +42,15 @@ How often to poll for provisioner jobs.
|
||||
|
||||
How much to jitter the poll interval by.
|
||||
|
||||
### --psk
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------------ |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_PROVISIONER_DAEMON_PSK</code> |
|
||||
|
||||
Pre-shared key to authenticate with Coder server.
|
||||
|
||||
### -t, --tag
|
||||
|
||||
| | |
|
||||
|
||||
Generated
+10
@@ -668,6 +668,16 @@ Collect database metrics (may increase charges for metrics storage).
|
||||
|
||||
Serve prometheus metrics on the address defined by prometheus address.
|
||||
|
||||
### --provisioner-daemon-psk
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------------ |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_PROVISIONER_DAEMON_PSK</code> |
|
||||
| YAML | <code>provisioning.daemonPSK</code> |
|
||||
|
||||
Pre-shared key to authenticate external provisioner daemons to Coder server.
|
||||
|
||||
### --provisioner-daemons
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user