jwt.properties

File purpose

The jwt.properties file is used to configure the authentication based on JWT.

File location

The file is located in the folder cvarc-application\src\main\resources\properties.

File values

Key Value Description
activeviam.jwt.key.public The public RSA key encoded in Base64.
activeviam.jwt.key.private The private RSA key encoded in Base64.
activeviam.jwt.expiration 12h The lifetime of the tokens as a Duration object

To generate new RSA keys, execute JwtUtil.