Policy Designer - Schema Management
The schema management tool helps to create, update, delete, and view schemas. Click the Manage button in the Store List; it will take you to the store management page.
Once you create a store, Agama Lab creates one default schema for you, which you can easily modify in the schema section.
Manage Namespace
Click on the Manage Namespace button, and you will get the following options:
Add namespace
Select + Add New Namespace option from Manage Namespace to add a new namespace.
It will open a dialog box for you to enter the new namespace name.
Just enter a custom name and click on save to create a new store.
Rename namespace
Select Rename Namespace option from Manage Namespace to rename the namespace. In the rename dialog box, select the namespace and enter a new name to replace the existing name.
Delete namespace
Select Delete Namespace option from Manage Namespace to delete the namespace.
In the delete dialog box, select the namespace to delete it.
Import Namespace
If you already have the Cedar JSON schema, you can easily import it and save it in the policy store. Click on the Import Schema button and select the file.
View Schema
Use this feature to view your schema in JSON and text format.
Example of schema JSON view:
Example of schema Text view:
Update and Delete Schema Elements
There are options in the UI where you can easily view, update, and delete schema elements like Common Types, Entities, and Actions.