We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 600391f commit ae6f623Copy full SHA for ae6f623
enterprise/cli/server.go
@@ -72,6 +72,9 @@ func (r *RootCmd) server() *clibase.Cmd {
72
}
73
74
if encKeys := options.DeploymentValues.ExternalTokenEncryptionKeys.Value(); len(encKeys) != 0 {
75
+ if len(encKeys) > 2 {
76
+ return nil, nil, xerrors.Errorf("only 2 external-token-encryption-keys are supported")
77
+ }
78
cs := make([]dbcrypt.Cipher, 0, len(encKeys))
79
for idx, ek := range encKeys {
80
dk, err := base64.StdEncoding.DecodeString(ek)
0 commit comments