set up jwt

This commit is contained in:
2024-11-21 00:37:25 +01:00
parent 16784e4aff
commit 8ef5a94205
6 changed files with 55 additions and 4 deletions

View File

@@ -19,6 +19,11 @@
"name": "spring.application.build.os.version",
"type": "java.lang.String",
"description": "Application build os version."
},
{
"name": "jwt.private-key",
"type": "java.lang.String",
"description": "Jwt private key file."
}
]
}

View File

@@ -10,6 +10,9 @@ spring:
name: "%APP_BUILD_OS_NAME%"
version: "%APP_BUILD_OS_VERSION%"
jwt:
private-key: keys/private_key.pem
---
###############################
### Development environment ###

View File

@@ -0,0 +1,8 @@
jwt:
private-key: keys/valid-private-key.pem
spring:
r2dbc:
url: r2dbc:postgresql://placeholder
username: placeholder
password: placeholder