set up hlaeja JWT

This commit is contained in:
2025-01-17 13:17:33 +01:00
parent d97502bcf8
commit 410cbd2b21
7 changed files with 37 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ In realms of connectedness, where devices roam free, A nexus of management, harm
| name | required | info |
|------------------------|:--------:|-------------------------|
| spring.profiles.active | ✓ | Spring Boot environment |
| jwt.public-key | ✓ | JWT public key file |
*Required: ✓ can be stored as text, and ✗ need to be stored as secret.*
@@ -16,6 +17,12 @@ Run `release.sh` script from `master` branch.
## Development Information
### Public RSA Key
This service uses the public key from **[Hlæja Account Register](https://github.com/swordsteel/hlaeja-account-registry)** to identify users. To set up user identification for local development, copy the `public_key.pem` file from the `./cert` directory in **Hlæja Account Register** into the `./cert` directory of this project.
*Note: For more information on generating RSA keys, please refer to our [generate RSA key](https://github.com/swordsteel/hlaeja-development/blob/master/doc/rsa_key.md) documentation.*
### Global Setting
The following global settings are used in Hlaeja Device Registry. You can configure these settings using either Gradle properties or alternatively environment variables.