Manage custom policy versions

更新时间:
复制 MD 格式

This topic describes how to manage custom policy versions, including how to view versions, set the active version, and delete versions.

Background

The following versioning rules apply to custom policies:

  • A custom policy can have a maximum of five versions.

  • If a custom policy already has five versions, modifying it in the console replaces the oldest non-active version with a new one. You can also manually delete unneeded versions.

  • A custom policy can have only one active version.

  • You can view the active version, but you cannot delete it.

Procedure

  1. Log on to the RAM console as a RAM administrator.

  2. In the left-side navigation pane, choose Permissions > Policies.

  3. On the Policies page, click the target custom policy.

  4. On the Policy Document tab, you can view, set, and delete policy versions.

    • View policy versions: Select a version from the drop-down list to view its policy document.

    • Set the active version: Select a version from the drop-down list and click Set As Default Version.

    • Delete a policy version: Select a version from the drop-down list and click Delete Version.