a

    Amy Soetopo

    1 month ago
    I’m wondering about using yaml to define policies (production setting) - what are the reasons not to do this?
    Alex Olivier (Cerbos)

    Alex Olivier (Cerbos)

    1 month ago
    That is the primary way of defining policies so a good choice!
    a

    Amy Soetopo

    1 month ago
    Oh, okay, great! that’s excellent.
    r

    Rounak Datta

    1 month ago
    Is there a way to generate DB migrations from the YAML policies and store them in a database? i.e. write YAML, but DB storage backend for policies? 😄
    Alex Olivier (Cerbos)

    Alex Olivier (Cerbos)

    1 month ago
    You can post the policies to the Admin API which will manage writing them to the DB. That said, if you can define the policies in YAML do you need the database for your use case?
    r

    Rounak Datta

    1 month ago
    Makes sense, thx. Not a use case, was just exploring!