@@ -40,8 +40,8 @@ The provisioner daemon must authenticate with your Coder deployment.
40
40
41
41
## Scoped Key (Recommended)
42
42
43
- We recommend creating finely-scoped keys for provisioners.
44
- Keys are scoped to an organization, and optionally to a specific set of tags.
43
+ We recommend creating finely-scoped keys for provisioners. Keys are scoped to an
44
+ organization, and optionally to a specific set of tags.
45
45
46
46
To create a key for an organization that will match untagged jobs:
47
47
@@ -102,10 +102,11 @@ tags.
102
102
103
103
## Global PSK (Not Recommended)
104
104
105
- > [ !NOTE] We do not recommend this approach anymore, as it makes
106
- > key rotation or isolating provisioners far more difficult.
105
+ > [ !NOTE] We do not recommend this approach anymore, as it makes key rotation or
106
+ > isolating provisioners far more difficult.
107
107
108
- A deployment-wide PSK can be used to authenticate any provisioner. To use a global PSK, set a
108
+ A deployment-wide PSK can be used to authenticate any provisioner. To use a
109
+ global PSK, set a
109
110
[ provisioner daemon pre-shared key (PSK)] ( ../reference/cli/server.md#--provisioner-daemon-psk )
110
111
on the Coder server.
111
112
@@ -286,7 +287,8 @@ will use in concert with the Helm chart for deploying the Coder server.
286
287
# coder provisioner keys create my-cool-key --org default --tags location=auh kind=k8s
287
288
```
288
289
289
- Successfully created provisioner key kubernetes-key! Save this authentication token, it will not be shown again.
290
+ Successfully created provisioner key kubernetes-key! Save this authentication
291
+ token, it will not be shown again.
290
292
291
293
<key omitted >
292
294
```
@@ -302,7 +304,7 @@ will use in concert with the Helm chart for deploying the Coder server.
302
304
``` yaml
303
305
provisionerDaemon :
304
306
keySecretName : " coder-provisioner-keys"
305
- keySecretKey : " key1"
307
+ keySecretKey : " key1"
306
308
` ` `
307
309
308
310
1. Redeploy Coder with the new ` values.yaml` to roll out the PSK. You can omit
@@ -326,7 +328,7 @@ will use in concert with the Helm chart for deploying the Coder server.
326
328
replicaCount: 10
327
329
provisionerDaemon:
328
330
keySecretName: "coder-provisioner-keys"
329
- keySecretKey: "key1"
331
+ keySecretKey: "key1"
330
332
` ` `
331
333
332
334
This example creates a deployment of 10 provisioner daemons (for 10
0 commit comments