https://cerbos.dev logo
#help
Title
# help
a

ANILA SOMAN

01/31/2023, 4:46 AM
Hi, What are the ways of creating policies?
j

Jesum Yip

01/31/2023, 4:47 AM
otherwise, you're just literally using notepad to write YAML files.
a

ANILA SOMAN

01/31/2023, 4:49 AM
Like GitHub, by yaml and code
j

Jesum Yip

01/31/2023, 4:49 AM
yeah, just write YAML files. check them into git, then point Cerbos to the git repo and voila!
you could generate YAML files using code as well. this will be useful if you have a web front end that exposes end-users to their own user-admini console where they can add users, create new permissions for them etc.
d

Dennis (Cerbos)

01/31/2023, 4:59 AM
It is possible to configure an IDE to make editing policies easier. Here is how to do it in VS Code for example.
a

ANILA SOMAN

01/31/2023, 5:03 AM
okay thank you for the update @Jesum Yip and @Dennis (Cerbos)
6 Views