API Gateway 10.3 | Using API Gateway | Policies | Managing Global Policies | Copying a Global Policy
 
Copying a Global Policy
You must have the API Gateway's manage global policies functional privilege assigned.
A global policy can become quite complex, especially if it includes many policies. Instead of creating a new policy from scratch, it is sometimes easier to copy an existing policy that is similar to the one you need and edit the copy.
When you create a copy of a global policy, be aware that:
*When API Gateway creates a copy of a policy, the new copy of the policy is identical to the original one.
*Like all new policies, the copied policy is marked as Inactive.
*There is no expressed relationship between the copy and the original policy (that is, API Gateway does not establish any type of association between the two policies).
In general, a copied policy is no different from a policy that you create from scratch.
*To copy a global policy
1. Click Policies in the title navigation bar.
2. Click the Global Policies tab.
A list of all available global policies appears.
3. Click the Copy icon for the required policy.
If you do not see the Copy button, it is probably because you do not have the API Gateway Administrator role to create the copy of a global policy in API Gateway.
4. In the Copy of Global Policy dialog box, provide the required information for each of the displayed data fields:
Field
Description
Name
Name of the global policy.
API Gateway automatically adds the name of the existing global policy to the Name field. You can change the name of the policy to suit your needs. But you cannot leave this field empty.
Description
The description for the global policy.
5. Click Copy to save the new policy.
6. Modify the new policy as necessary and then save it.
Activate the new policy when you are ready to put it into effect.