py-microservice/config.toml

31 lines
869 B
TOML
Raw Normal View History

2023-10-04 20:25:21 +00:00
# Example configuration. The server address and port must be
# match the basebox Broker's GraphQL schema @bb_resolver metadata for
# the corresponding queries/mutations, e.g.:
#
# type Mutation {
# orderPizza(
# name: String!
# toppings: [String!]!
# ): OrderInfo
# @bb_resolver (
# _type: HTTP_SERVICE
# _url: "http://127.0.0.1:8891/graphql"
# )
# }
2023-10-04 19:03:20 +00:00
[server]
port = 8891
# automatically reload on source file changes. Default: false
2023-10-04 20:25:21 +00:00
# development only - disable in production
2023-10-04 19:03:20 +00:00
autoreload = true
[auth]
# realm for identity provider, for loading key store data
idp_url = "https://kcdev.basebox.io:8443/realms/test-runner"
# prefix for permission values, resulting in a check against e.g. "allow::bb::operation::orderPizza"
ols_prefix = "allow::bb::operation::"
# permissions key name in token claims
permissions_key = "basebox/permissions"