2.7 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 2.6, Enabling and Disabling Role Policies. Devices > Identity Servers > Edit > Roles.

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 Policies > 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 you want the file to be copied.

  6. Click OK.

To import a role policy:

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

  2. Click Import, then browse to and select the file.

  3. Click OK.

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