File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ func TestDeploymentValues(t *testing.T) {
26
26
cfg .OIDC .EmailField .Set ("some_random_field_you_never_expected" )
27
27
cfg .PostgresURL .Set (hi )
28
28
cfg .SCIMAPIKey .Set (hi )
29
+ cfg .ExternalTokenEncryptionKey .Set ("the_random_key_we_never_expected" ) // len:32
29
30
30
31
client := coderdtest .New (t , & coderdtest.Options {
31
32
DeploymentValues : cfg ,
@@ -44,6 +45,7 @@ func TestDeploymentValues(t *testing.T) {
44
45
require .Empty (t , scrubbed .Values .OIDC .ClientSecret .Value ())
45
46
require .Empty (t , scrubbed .Values .PostgresURL .Value ())
46
47
require .Empty (t , scrubbed .Values .SCIMAPIKey .Value ())
48
+ require .Empty (t , scrubbed .Values .ExternalTokenEncryptionKey .Value ())
47
49
}
48
50
49
51
func TestDeploymentStats (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ func TestDeploymentValues_HighlyConfigurable(t *testing.T) {
57
57
"SCIM API Key" : {
58
58
yaml : true ,
59
59
},
60
+ "External Token Encryption Key" : {
61
+ yaml : true ,
62
+ },
60
63
// These complex objects should be configured through YAML.
61
64
"Support Links" : {
62
65
flag : true ,
You can’t perform that action at this time.
0 commit comments