Using DAML Assistant with an Auth enabled Sandbox

Is DAML Assistant able to interact with a Ledger API Server that requires an Auth Token?

There isn’t an Auth Token parameter in the config: https://docs.daml.com/tools/assistant.html#project-config-file-daml-yaml

2 Likes

The DAML assistant like all other ledger clients in the SDK (e.g. navigator, DAML Script, …) accepts an --access-token-file flag that points to a file containing your token. Currently it is not possible to configure this in your daml.yaml file which is why it’s not listed in the docs you linked. It is however mentioned in the docs on ledger deployment at https://docs.daml.com/deploy/generic_ledger.html.

3 Likes