Question: If I have an up-and-running participant node with auth-services configured, how do I get the participant id?
Without auth-services configured, I can get the participant id like this:
> grpcurl -plaintext localhost:5005 \
com.daml.ledger.api.v1.admin.PartyManagementService/GetParticipantId \
| jq -r '.participant_id'
participant2::1220d182f96742328a7627d18b032af9cd17f1e0a09391fd9a4ecb5bcaa50821f987
With auth-services configured, I need a token to call that endpoint:
> grpcurl -plaintext localhost:5003 \
com.daml.ledger.api.v1.admin.PartyManagementService/GetParticipantId \
| jq -r '.participant_id'
ERROR:
Code: Unauthenticated
But, to create the ~chicken~ token I need the ~egg~ participant id.