Skip to content

Commit

Permalink
chore: expose app config envs
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <[email protected]>
  • Loading branch information
Pat Losoponkul committed Oct 16, 2023
1 parent 992f08b commit 2410b8d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions prism-agent/service/server/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,27 @@ agent {
autoProvisioning = true
autoProvisioning = ${?API_KEY_AUTO_PROVISIONING}
}
# TODO: expose environent variable
keycloak {
enabled = false // TODO: change to false before merge !!!
enabled = false
enabled = ${?KEYCLOAK_ENABLED}

keycloakUrl = "http://localhost:9980"
keycloakUrl = ${?KEYCLOAK_URL}

realmName = "atala-demo"
realmName = ${?KEYCLOAK_REALM}

clientId = "prism-agent"
clientId = ${?KEYCLOAK_CLIENT_ID}

clientSecret = "prism-agent-demo-secret"
clientSecret = ${?KEYCLOAL_CLIENT_SECRET}

# autoUpgradeToRPT is used to enable the auto RPT (requesting party token) logic.
# if enabled, normal accessToken can be used to perform permission checks by obtaining RPT from accessToken.
# if disabled, accessToken must be RPT which already include the permission claims.
autoUpgradeToRPT = true // TODO: change to false before merge
autoUpgradeToRPT = false
autoUpgradeToRPT = ${?KEYCLOAK_UMA_AUTO_UPGRADE_RPT}
}
}
database {
Expand Down

0 comments on commit 2410b8d

Please sign in to comment.