by the way, is there a page that documents the cer...
# help
j
by the way, is there a page that documents the cerbos python client library?
i would like to see how i can pass JWTs to cerbos using the Python client.
also, in https://github.com/cerbos/demo-python/blob/master/requirements.txt, i see there is no python module called "cerbos" being installed?
d
Sorry, Iโ€™m not a python developer. Hope someone will comment on this later today.
j
I guess it's @Charith (Cerbos). I can't find the cerbos python module in PyPI. So I'm wondering where is it located in public repositories?
d
I think it is work in progress
j
So if I want to use Python to talk to cerbos, I can't?
I mean I have to do it manually by calling the REST API and composing the raw JSON?
d
Yes, definitely
j
Awwwww, that's a shame. In the published python demo i see there is a pre-packaged python module that talks to cerbos and abstracts allt the work required to compose the raw JSON etc. https://www.loom.com/share/0425d8a075804d528185ad2ba30817b3
at around 2:47, the presenter says "We import cerbos library"
nevermind, i found it. ๐Ÿ™‚
๐Ÿ‘ 1
d
I can be wrong, but I donโ€™t see it handles JWT though.
j
yeah it doesn't
i'll have to extend it
d
The request has to include:
Copy code
"auxData": { 
    "jwt": {
        "token": "xxx.yyy.zzz", 
        "keySetId": "ks1" 
    }
  }
๐Ÿ‘ 1