Skip to content
CCPEDIAby Unity Nodes
App Development

How do I check canton participant configuration?

2 posts517 views4 likesLast activity Apr 2022

  1. bernhardOP 1

    Adapted from a private conversation:

    I’ve not configured authentication on a participant node, but the ledger API keeps rejecting my API requests as unauthenticated. Shouldn’t it be enough to not set the config parameter canton.participants.participant1.ledger-api.auth-services for the participant participant1 and how do I check I’m not actually accidentally setting it?

  2. bernhard 3

    It is correct that not setting the auth-services should be sufficient to disable authentication. The way to check is via the Canton console. There you have to translate the pure-config hyphenated parameters into camelCase. Ie in the console you can type

    participant1.config.ledgerApi.authServices
    res3: Seq[com.digitalasset.canton.participant.config.AuthServiceConfig] = List()
    

    The result List() in the above tells you that there is indeed no authentication configured. If the result is something else have another look at your config files.