-
Notifications
You must be signed in to change notification settings - Fork 938
config properties secrets
GitHub Action edited this page Nov 7, 2024
·
6 revisions
v1.2.1
object
(secrets)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
keys | array |
Optional | cannot be null | Config |
keys
are used to en- and decrypt the JWKs which get used to sign the JWTs issued by the API.
For every key a JWK is generated, encrypted with the key and persisted in the database.
You can use this list for key rotation: add a new key to the beginning of the list and the corresponding JWK will then be used for signing JWTs. All tokens signed with the previous JWK(s) will still be valid until they expire. Removing a key from the list does not remove the corresponding database record. If you remove a key, you also have to remove the database record, otherwise application startup will fail.
keys
-
is optional
-
cannot be null
string[]
(keys)
minimum number of items: the minimum number of items for this array is: 1