Multi Tenancy

Hi,

Our first deployment will not be decentralized by running DAML on PostgreSQL for example. What is the best way to have multi tenancy, achieved on one node? Is it to login with one’s token each time?

Best regards-

1 Like

Indeed, enabling authorization on the Ledger API will ensure that only parties with a valid token will be able to perform operations on the ledger as defined by the contracts loaded onto it. Note that this will not require a full login procedure each time. As long as the token is valid it can be used. The client should make sure to acquire a new token when the previous expires.

1 Like