Router authentication jwtSigningKey unique for every Fission installation

This commit is contained in:
Dada Gore
2023-12-06 10:11:36 +05:30
committed by GitHub
parent 9b57f1f2e7
commit d4aba532f3
2 changed files with 2 additions and 2 deletions
@@ -10,5 +10,5 @@ metadata:
data: data:
username: {{ .Values.authentication.authUsername | b64enc | quote }} username: {{ .Values.authentication.authUsername | b64enc | quote }}
password: {{ randAlphaNum 20 | b64enc | quote }} password: {{ randAlphaNum 20 | b64enc | quote }}
jwtSigningKey: {{ .Values.authentication.jwtSigningKey | b64enc | quote }} jwtSigningKey: {{ default (randAlphaNum 20) .Values.authentication.jwtSigningKey | b64enc | quote }}
{{- end }} {{- end }}
+1 -1
View File
@@ -682,7 +682,7 @@ authentication:
## jwtSigningKey is the signing key used for ## jwtSigningKey is the signing key used for
## signing the JWT token ## signing the JWT token
## ##
jwtSigningKey: serverless jwtSigningKey:
## jwtExpiryTime is the JWT expiry time ## jwtExpiryTime is the JWT expiry time
## in seconds ## in seconds
## default '120' ## default '120'