Using DAML Assistant with an Auth enabled Sandbox
App Development2 posts358 views5 likesLast activity Apr 2020
PI
Piyush_BediOP
Apr 2020Is 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
CO
cocreature
Apr 2020The 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.