Manage Policies

Policies are filters that determine the access that users and group have to various assets and artifacts of their organization.

  • Policies must have unique names.

  • When a user has multiple policies due to membership in multiple groups, these policy filters apply as a union (in other words, it uses the OR logical operator).

To manage policies, follow these steps:

  1. Select the Admin tab, and then the Policy Management option in the drop-down menu.

    Navigate to the Policy Management interface
  2. The Policy Management interface appears.

    Manage Policies

    It has the following components:

    1. Search bar to locate specific policies

    2. The Add New Policy button.

    3. List of policies, including the Policy Name, Type, and Scope.

  3. Proceed to make changes, as described in:

Change a Policy

To change an existing policy, follow these steps:

  1. Hover your pointer over the Scope field of the policy you plan to change.

  2. When the Edit (pencil) icon appears, click on it.

    Changing a policy
  3. The Edit Policy interface appears.

    • You can change the Name of the policy, its Type, and its Key (the Operator / Value) tuple.

    • You can build the key using logical operators, or regex expressions.

    • You can also delete the existing key, and add another key as a filter.

  4. Here, we are changing the namespace_only policy by swapping the operator = (equal) to =~ (regex similar to).

    Change policy
  5. Click Save Policy.

  6. Kloudfuse confirms that you successfully changed the policy.

Note the changes in the policy as it appears on the Policy Management interface.

Changes to the policy

Add a New Policy

To add a new policy, follow these steps:

  1. Click the Add New Policy button.

  2. The Add Policy interface appears.

    Add policy interface
  3. In the interface, specify these fields:

    Name

    Choose a meaningful and descriptive name for your new policy

    Type

    The options are Custom (default), All, or None.

    You can build custom policies using the Key/Operator/Value specification.

  4. Here, we specify a custom policy test1 with Key kube_namespace, Operator = (equals), and Value octel.

    Adding a Policy
  5. [Optional] You can use multiple filters to define your custom policies.

    Click the Add Filter button and proceed.

  6. After you finish defining your new policy, click Save Policy.

Kloudfuse confirms that you successfully created a new policy.

Note that the new policy appears on the Policy Management interface.

New policy in list of policies

Delete a Policy

To delete an existing policy from your RBAC configuration, follow these steps:

  1. Hover your pointer over the Scope field of the policy you plan to delete from the system.

  2. When the Delete (trashcan) icon appears, click it.

    Deleting a policy
  3. Kloudfuse prompts you to confirm deleting the policy.

    You can click Delete to confirm, or Cancel to stop deleting the policy.

    Confirm or cancel deleting the policy

You should see a notification that Kloudfuse deleted the policy successfully.

The Group Management interface no longer lists the policy test1.