Fork me on GitHub
#datomic
<
2020-11-17
>
onetom03:11:08

How can we restrict client apps / IAM users to only have access to certain databases? The https://docs.datomic.com/cloud/operation/access-control.html article defines the DbName metavariable at the beginning, but then it's not mentioned afterwards. It does have a section called Authorize Client Applications, linking to https://docs.datomic.com/cloud/operation/client-applications.html , but that page doesn't mention DbName either. Is it not possible to restrict access to certain dbs or it's just not documented?

joshkh16:11:10

i'd like to know this as well. i had started defining a policy to grant access to just certain access keys in the datomic s3 bucket, but in the end gave up (admittedly after not much trial and error)

mruzekw04:11:58

Has anyone been able to install dev-local on a Windows machine (not WSL or VM)?

mruzekw04:11:42

Looks like Powershell is particular about . in args. When you run the mvn commands from ./install wrap the whole -Dfile arg in quotes (`"-Dfile=…"`)

jaret15:11:38

I was able to get Dev-local running on windows 10, using powershell. I created the .datomic\dev-local.edn file and populated with:

jaret15:11:49

{:storage-dir "C:\\Users\\<COMPUTER NAME>\\dev-local-proj\\storage"}

jaret15:11:04

alternatively you can specify the storage dir which is what is contained in the .datomic folder.

jaret15:11:24

(def client (d/client {:server-type :dev-local
                       :storage-dir "C:\\Users\\<COMPUTER NAME>\\dev-local-proj\\storage"
                       :system "dev"}))

mruzekw16:11:51

Thanks, jaret!