File tree Expand file tree Collapse file tree
configs/matrix-authentication-service
templates/matrix-authentication-service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,8 +83,16 @@ clients:
8383{{- end }}
8484
8585secrets:
86- encryption: $ {ENCRYPTION_SECRET}
87-
86+ encryption_file: /secrets/{{
87+ include " element-io.ess-library.init-secret-path" (
88+ dict " root" $root
89+ " context" (dict
90+ " secretPath" " matrixAuthenticationService.encryptionSecret"
91+ " initSecretKey" " MAS_ENCRYPTION_SECRET"
92+ " defaultSecretName" (include " element-io.matrix-authentication-service.secret-name" (dict " root" $root " context" . ))
93+ " defaultSecretKey" " ENCRYPTION_SECRET"
94+ )
95+ ) }}
8896 keys:
8997{{- with required " privateKeys is required for Matrix Authentication Service" .privateKeys }}
9098 - kid: rsa
Original file line number Diff line number Diff line change @@ -128,21 +128,6 @@ env:
128128 )
129129 )
130130 }}
131- - name: ENCRYPTION_SECRET
132- value: >-
133- {{
134- printf " {{ readfile \" /secrets/%s \" | quote }}" (
135- include " element-io.ess-library.init-secret-path" (
136- dict " root" $root
137- " context" (dict
138- " secretPath" " matrixAuthenticationService.encryptionSecret"
139- " initSecretKey" " MAS_ENCRYPTION_SECRET"
140- " defaultSecretName" (include " element-io.matrix-authentication-service.secret-name" (dict " root" $root " context" . ))
141- " defaultSecretKey" " ENCRYPTION_SECRET"
142- )
143- )
144- )
145- }}
146131{{- /*
147132 This is the secrets shared between Synapse & MAS
148133*/ -}}
You can’t perform that action at this time.
0 commit comments