Open flyinghermit opened 1 year ago
Create a converter to convert existing roles into predicate policy, i.e., yaml to python code converter
This will ease migration from existing roles to predicate policy. The suggestion by @vitorenesduarte (https://github.com/gravitational/predicate-lang/issues/47#issuecomment-1316966339) to add --import-roles-as-policies that wold fetch and convert existing roles is a good use case.
--import-roles-as-policies
What
Create a converter to convert existing roles into predicate policy, i.e., yaml to python code converter
Why
This will ease migration from existing roles to predicate policy. The suggestion by @vitorenesduarte (https://github.com/gravitational/predicate-lang/issues/47#issuecomment-1316966339) to add
--import-roles-as-policies
that wold fetch and convert existing roles is a good use case.