I’m wondering about using yaml to define policies ...
# help
a
I’m wondering about using yaml to define policies (production setting) - what are the reasons not to do this?
a
That is the primary way of defining policies so a good choice!
a
Oh, okay, great! that’s excellent.
r
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? 😄
a
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
Makes sense, thx. Not a use case, was just exploring!