blob: 74303fe72ce3e948370161587b539f3dd3c888f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.psesquared.server.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The properties class that is used to return externally stored signing key.
*
* @param jwtAuthSigningKey The base64-encoded JWT signing key for
* authentication
* @param jwtUrlSigningKey The base64-encoded JWT signing key for URLs
* @param emailSigningKey The base64-encoded salt for email encryption
*/
@ConfigurationProperties("security")
public record SecurityConfigProperties(String jwtAuthSigningKey,
String jwtUrlSigningKey,
String emailSigningKey) {
}
|