内置公私钥

This commit is contained in:
HPCesia 2024-11-18 23:02:59 +08:00
parent 61553ef6f5
commit 2ccf17c689
3 changed files with 45 additions and 0 deletions

View File

@ -13,6 +13,14 @@ identity_validation:
reset_password: reset_password:
jwt_algorithm: "HS512" jwt_algorithm: "HS512"
identity_providers:
oidc:
jwks:
- key_id: "example"
algorithm: "RS256"
use: "sig"
key: {{ secret "/config/secrets/oidc/jwks/rsa.2048.key" | mindent 10 "|" | msquote }}
session: session:
cookies: cookies:
- name: "authelia_session" - name: "authelia_session"

View File

@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC3HSoRzZVj14+q
tpV8rshNYv5Cwf7TdBrf+xRhy345GQWqHTp3w+YhTopgIfpprbJKx3P54nq9z8uV
JFajW8DEK5aZXXXQcEGO3GKTnOyqqqHpXkh3S+q6IOeac8lCVYQcXEIAGPist+Li
nBXzXccsS0gwiyICaB0WFPy2ARg32BSwbTaPz54R99wcBNI3aojOtYnCEJ7gQLF0
FZRQrYEE8wh7if0aL9XY3ihaaal9Uuz/JBSip/SZKB2qh8SZj3LTiv0BgJlo/nux
Lt3Hn+hMBhaDw7HKF3zvUF9JIDzuIETrDN3np4GSpnFmSBQyDu4H7DyxkG+wdkjf
u9MeXU2HAgMBAAECggEBAIr2WAHQuWleokmUbFeFsL6BvKFe5YsFFowZ1/rrWivs
oE7cBY30HcXy+7I+tvHR/ncfbBUb2bgIZOAXBqTMMbrttUlIEuuO9UF8YFbThQtz
mJIomefmtghwhjLBYd+0VCDNpsy6JqW0mzsL5uCcr1UfAHbOb43SAxjJ7ooUxJND
XxO+zpsuXhO/P9Cc5ihEw5CXBEwDVwZu3OrKQy2UBDlyyks8UVbMK9PriqYF71Ti
7GgsvqH/Lvpji4F7zEfmG5aMcFCtG/XymtrFHt3U5P8goVRpMpRWacq4TJiVJZA0
11Ze3vI9suvm04eu/cmqTGOfEo/eo46Mw3ApWF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