how to automate policy and kv path creation?
I have a scenario: I have a form that User enters his name then systems retrieves his group (by AD,LDAP or OKTA). Then I want to grant access to this user on some path and create the policy for him. (If it doesn't exist policy and paths are needed to be created ). how can I automate this process? which method is better API or CLI? Can u give examples for both? Should I use bash or any other language like GO, Java, Python? which one is better? Can u pls make a video for this?