27.6 Importing and Exporting Role Policies

You can import and export role policies in order to run them in other Identity Server configurations. When you import a role, ensure that you have enabled any Liberty profile that is referenced in the role policy, in order to correctly display the policy in the interface. However, the policy still evaluates if you have not enabled the profile.

You must also enable roles after importing them to an Identity Server configuration. See Section 27.5, Enabling and Disabling Role Policies.

When you export a role policy, the system saves it as a .txt file at the location of your choosing. After you import a role policy, you must update the Identity Server configuration.

To export a role policy:

  1. In the Administration Console, click Access Manager > Policies.

  2. Select a policy, then click Export.

  3. (Optional) Modify the name suggested for the file.

  4. Click OK

  5. Using the features of your browser, specify where the file is copied.

To import a role policy:

  1. In the Administration Console, click Access Manager > Policies.

  2. Click Import, then browse to the location of the file.

  3. Click OK.

  4. When the policy appears in the list, click Apply Changes.