Background
This document details the steps needed to update the N2WS IAM Role Permissions.
This is often needed when upgrading to a newer version as added functionality requires additional AWS Permissions.
Steps for updating a policy
1.
Please visit this link to obtain the JSON permissions files necessary.
Download the attachment at the bottom of the link.
It has all the IAM policy JSON files in it, sorted by version and edition.
- Required minimal AWS permissions/roles for CPM operation
2.
3.
Please select the "Roles" option in the left-hand pane and search for your N2WS role you want to update.
4.
Please click on the Role and scroll down to see the permissions tab.
Here you can see all the permissions policies currently attached to your role.
5.
For each of the existing N2WS policies, Please do steps 6 to 9
If you are upgrading from very old version, the number of policies might change.
in this case you will need to create new policy in addition to updating existing ones.
Please see next section for steps on how to create a policy
6.
Please click on the '+' sign, then on Edit
7.
A new tab with the policy will open.
Please select all the current content of the policy and delete it.
8.
Please open the first policy json file for your edition, and copy all its content to the policy editor
It is Important to use notepad to open the JSON file, so when you copy and paste its contents you do not add any formatting characters.
Failure to do this can cause syntax errors when saving the policy and other issues.
9.
Please scroll down, then click Next and Save changes
Steps for Creating a policy
As mentioned, If you are upgrading from very old version, the number of policies might change.
in this case you will need to create new policy for the additional files in addition to updating existing policies.
For example, If you upgrade from 2.x to 4.x you might have one policy attached to your role, while new version has 3 policies.
In this case, you will need to update the existing policy and also create 2 new policies.
2. Go to 'Policies'.
3. Click on 'Create policy'
4. Click on JSON, Then delete the content and replace with the json from the minimal permission zip.
It is Important to use notepad to open the JSON file, so when you copy and paste its contents you do not add any formatting characters.
Failure to do this can cause syntax errors when saving the policy and other issues.
5. Then click Next, Select policy name and click Create policy
6. You will need to create a policy for each needed extra json file for your edition.
7. Once all policies are created, go to 'Roles' and click on the role used by the N2WS server
8. Open 'Permissions' tab and click 'Attach policies'
9. Search for the policies you've created and add them by checking the box next to them, then click Add Permissions.
Checking permissions
Once done, you can use this KB solution article to check your permissions.
- How to Check for AWS Permissions