Imadul Islam11/03/2022, 2:54 PM
. I was trying to run
. There is a doc for how to run and create schemas. But I could not find any doc how should I insert my policies on the
Sample Finance Application Policy
This is the playground URL I was trying to read from
in your configuration like this (Also, here is the list of all possible configuration options if you’d like to explore more);
Here is the relevant part to send a request to the AdminAPI for adding/updating policies;
passwordHash: JDJ5JDEwJEdEOVFzZDE2VVhoVkR0N2VkUFBVM09nalc0QnNZaC9xc2E4bS9mcUJJcEZXenp5OUpjMi91Cgo= # PasswordHash is the base64-encoded bcrypt hash of the password to use for authentication.
username: cerbos # Username is the hardcoded username to use for authentication.
enabled: true # Enabled defines whether the admin API is enabled.
Hope this helps, please let me know if you encounter any problems or have any questions.
Imadul Islam11/03/2022, 3:38 PM
Sam Lock (Cerbos)11/07/2022, 3:38 PM
Imadul Islam11/08/2022, 6:00 AM