If you want to modify the configurations of an authorization rule or you no longer need to maintain an authorization rule that expires, you can modify or delete the authorization rule. This topic describes how to modify and delete an authorization rule.

Prerequisites

An authorization rule is created in your bastion host. For more information, see Create an authorization rule.

Modify an authorization rule

You can modify the parameters on the Basic Info and Host/User tabs of an authorization rule.

  1. Log on to the Bastionhost console.
  2. In the left-side navigation pane, click Authorization Rules.
  3. On the Authorization Rules page, find the authorization rule that you want to modify.
  4. Click Edit in the Actions column.
  5. On the Authorization Details page, modify the configurations of the authorization rule.
    • Modify the parameters on the Basic Info tab.
      1. Modify the Authorization Rule Name, Validity Period, and Remarks parameters.
      2. Click Update.
    • Modify the parameters on the Host/User tab.

      You can add or remove hosts and users for the authorization rule. You can adjust hosts, host groups, users, and user groups in the same manner.

      The following example shows how to adjust the hosts of an authorization rule.

      1. Click the Host/User tab.
      2. In the Hosts section, click Associate Host to add a host. You can also select the host that you want to remove and click Remove to remove the host.

    After you modify the authorization rule, your bastion host runs based on the modified authorization rule.

Delete an authorization rule

If you no longer need an authorization rule, you can delete the authorization rule.

  1. Log on to the Bastionhost console.
  2. In the left-side navigation pane, click Authorization Rules.
  3. On the Authorization Rules page, find the authorization rule that you want to delete.
  4. Click Delete in the Actions column.
  5. In the message that appears, click Delete.
    After you delete the authorization rule, the configurations such as the assets that are associated with the rule and the validity period of the rule become invalid.