Important
Blazing KRaft utilizes the file system in various ways, it stores the data for the H2 datasource, handles files that are manually registered and saves the OAuth2 server's RSA keys.
All of the managed files and directories are available at /var/blazingkraft/
,
make sure to mount this path to your local filesystem or volume.
Database
For the H2 datasource, the database data is stored in the /var/blazingkraft/database
directory.
Files
Some Configurations are required to be files, examples are: ssl.keystore.location
,ssl.truststore.location
and many more...
These configuration files are managed by Blazing KRaft in the /var/blazingkraft/files
directory.
You can add and delete files from this directory directly from the GUI.
RSA Keys
The Blazing KRaft OAuth2 authorization server uses RSA keys to sign and verify JWT tokens,
the keys are stored in the /var/blazingkraft/rsa-keys
directory.
On Startup the server checks for the existence of the RSA Keys Json configuration, if not found it will attempt to create a new one.
If you think that your keys are compromised, you can delete the /var/blazingkraft/rsa-keys
directory and
restart the server (a new key pair will automatically be created),
or you can simply update the /var/blazingkraft/rsa-keys/blazingkraft-rsa-keys.json
file content.
{
"p" : "2X8FkuutMoB8FHnwA15lYAzuoNtul0bBjROjrMo3Z770EgRezmXQnDh5QIJ1WtR50ZnmpdmOZPSAkX9df3kfQmjnngqyNVLNosyIgQ1ERYRgdbtm5l6f1cZjlQ8MJVL1-aGCS9JQuqf9EoZXCbnRf2ATCGlC_YT5ZV9EXlJI8gc",
"kty" : "RSA",
"q" : "-K4wZQvFiH9zYANxedw41HPNJsDJclHb_2j-0jZySsM_KaiRVQolW57pTxSivW0qD6RxiqVgzkiPSruq_QcEEeTZa1s8i4dkPuJiTwBm-KZxcCPAYx9wfAadRNuwPTQuKLln-588W8kW1q5C-sbpm_55nTmE9FclaQUJd1_Jr_0",
"d" : "T5PgGeRTY5s8mTBCd6_wZWMif_pF4EI3wWg_vSuEj8cTFleV1DoFjg201CY-fHh-TtcJOuQibL3iB_fIEFE1aVFKmLmVt0OT3DBM-zCezSE26-oIsi_q6KnPqniy3_PGGCzCvzuuBo5xYfM49RrgaT2PZkOOWKnqwdjt5r-bwDV21lyE9XATR0X48AsXAjJjPtzhuQIIvHwxE_bOymt7i9IsGsL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