@fairmint/canton-node-sdk
Version:
Canton Node SDK
59 lines (52 loc) • 1.47 kB
Plain Text
include required(file("/app/storage.conf"))
_client_credentials_auth_config {
type = "client-credentials"
well-known-config-url = ${?SPLICE_APP_SPLITWELL_LEDGER_API_AUTH_URL}
client-id = ${?SPLICE_APP_SPLITWELL_LEDGER_API_AUTH_CLIENT_ID}
client-secret = ${?SPLICE_APP_SPLITWELL_LEDGER_API_AUTH_CLIENT_SECRET}
# TODO(DACH-NY/canton-network-internal#502) use actual audience of the target participant
audience = ${SPLICE_APP_SPLITWELL_LEDGER_API_AUTH_AUDIENCE}
}
_participant_client {
admin-api = {
address = ${SPLICE_APP_SPLITWELL_PARTICIPANT_HOST}
port = 5002
}
ledger-api = {
client-config = {
address = ${SPLICE_APP_SPLITWELL_PARTICIPANT_HOST}
port = 5001
}
auth-config = ${_client_credentials_auth_config}
}
}
_validator_client {
admin-api.url = "validator-app:5003"
}
_scan_client {
admin-api.url = ${SPLICE_APP_SPLITWELL_SCAN_URL}
}
canton {
splitwell-apps {
splitwell_backend {
storage = ${_storage}
admin-api = {
address = "0.0.0.0"
port = 5213
}
participant-client = ${_participant_client}
scan-client = ${_scan_client}
provider-user = ${?SPLICE_APP_SPLITWELL_LEDGER_API_AUTH_USER_NAME}
domain-migration-id = ${SPLICE_APP_SPLITWELL_MIGRATION_ID}
domains {
splitwell {
preferred {
alias = "global"
}
others = []
}
}
}
}
features.enable-testing-commands = yes
}