Add secrets.encryption_file config option

Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
This commit is contained in:
Kai A. Hiller
2025-05-26 14:29:36 +02:00
parent 770e4791f4
commit 1d88c875e8
5 changed files with 101 additions and 29 deletions

View File

@@ -1515,18 +1515,7 @@
"SecretsConfig": {
"description": "Application secrets",
"type": "object",
"required": [
"encryption"
],
"properties": {
"encryption": {
"description": "Encryption key for secure cookies",
"examples": [
"0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff"
],
"type": "string",
"pattern": "[0-9a-fA-F]{64}"
},
"keys": {
"description": "List of private keys to use for signing and encrypting payloads",
"default": [],
@@ -1534,6 +1523,19 @@
"items": {
"$ref": "#/definitions/KeyConfig"
}
},
"encryption_file": {
"description": "File containing the encryption key for secure cookies.",
"type": "string"
},
"encryption": {
"description": "Encryption key for secure cookies.",
"default": null,
"examples": [
"0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff"
],
"type": "string",
"pattern": "[0-9a-fA-F]{64}"
}
}
},