Skip to main content
Version: 2.0.0

Signal

Example Configuration

[log]
level = "info"

[nats]
url = "nats://127.0.0.1:4222"


[signal.grpc]
host = "0.0.0.0"
port = "5551"
allow_all_origins = true
cert = "configs/certs/server.crt"
key = "configs/certs/server.key"

[signal.iams]
enabled = true
keycloak_url="http://iams-keycloak/realms/aoh/protocol/openid-connect/userinfo"

log.level

  • Type: string

  • Default: 'info'

  • The logging level. info for production, debug for development.

nats.url

  • Type: string

  • The URL of the NATS server.

signal.grpc.host

  • Type: string

  • The host of the gRPC server.

signal.grpc.port

  • Type: string

  • The port of the gRPC server.

signal.grpc.allow_all_origins

  • Type: bool

  • Default: false
  • Set to true if you want to allow all origins.

signal.grpc.cert

  • Type: string

  • The path to the certificate file to enable TLS.

signal.grpc.key

  • Type: string

  • The path to the key file to enable TLS.

signal.iams.enabled

  • Type: bool

  • Default: false
  • Set to true if you want to enable authentication with IAMS.

iams.keycloak_url

  • Type: string

  • The URL of the Keycloak userinfo endpoint.