Creating policies and policy sets
Create policies and policy sets to define the circumstances under which users access certain resources.
Steps
-
Click Policies.
-
Click .
-
Select Add Policy Set or Add Policy, as appropriate.
You can name policies and policy sets anything you like. However, you should use relevant and contextual names, especially as the policy tree grows larger and more complex. When naming policies, consider the business rule that they are trying to model and verify that the names represent the operational policies of the organization.
-
Update the policy to include targets, statements, and other changes.
-
Optional: Use Properties to add metadata to the policy or policy set in the format of a key-value pair.
-
Click next to Properties.
-
Click Add Property and enter a key-value pair.
-
-
Optional: Select the Disable check box to disable your policy or policy set.
If you disable the policy, it is not evaluated and produces a
Not Applicable
decision. When you disable it, the policy is shown as crossed out in the policy tree. -
Click Save changes.
After you create a policy, you can modify it to be a repeating policy. For more information, see Repeating policies and attributes.
Example
In the following example, the policy name is My Basic Policy
. Because the name has been changed, you see a red dot in the upper-right corner. This dot indicates that the policy contains unsaved changes. If you try to leave the page, a modal opens and prompts you to save your changes.