Skip to content

Commit

Permalink
Closes #16
Browse files Browse the repository at this point in the history
Make RSA from keycloak constant.
  • Loading branch information
Sojusan committed Feb 27, 2024
1 parent 5ac8172 commit 91d6f77
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ KC_DB_PASSWORD=
KSUMMARIZED_REALM_NAME=KnowledgeSummarized
# The secret for the `ksummarized` client that is used by frontend application during authentication
KSUMMARIZED_CLIENT_SECRET=
# The private key of the ksummarized realm
KSUMMARIZED_RSA_PRIVATE_KEY=
# The public key of the ksummarized realm
KSUMMARIZED_RSA_PUBLIC_KEY=
# The certificate of the ksummarized realm
KSUMMARIZED_RSA_CERTIFICATE=
# The ClientId for the Google OAuth provider
PROVIDER_GOOGLE_ID=
# The ClientSecret for the Google OAuth provider
Expand Down
9 changes: 9 additions & 0 deletions keycloak/imports/realms/realm-export.json
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,15 @@
"providerId": "rsa-generated",
"subComponents": {},
"config": {
"privateKey": [
"${KSUMMARIZED_RSA_PRIVATE_KEY}"
],
"publicKey": [
"${KSUMMARIZED_RSA_PUBLIC_KEY}"
],
"certificate": [
"${KSUMMARIZED_RSA_CERTIFICATE}"
],
"priority": [
"100"
]
Expand Down

0 comments on commit 91d6f77

Please sign in to comment.