Create Policy Iam User Dec 2017 Tutorial & Guide

Learn how to configure Amazon Web Services (AWS) with a custom IAM policy and user to support secure file uploads from wp2print to your S3 bucket.

Video Transcript

In this video, we're going to see how to configure Amazon Web Services with what's called a policy and a user to support the uploads from wp2print.

In this help page, you will see what's called a policy text.

Simply copy that text and move over to the text editor we were using earlier and paste that text there.

Then, replace the 'mybucketname' text here with your own bucket name and copy the whole policy again.

Switch over to the Amazon Web Services interface and click on IAM, which can either be found on the left or right side.

The first thing we're going to do once we're in this area is click on Policies, then Create a New Policy.

My advice here, since we already have the text for our bucket policy, is to click on JSON here and remove the existing policy in order to paste the policy we just edited.

Click on Review Policy.

Here, you're able to give the policy a name.

It really doesn't matter what the name is.

I will simply use 'mysiteuploadspolicy.' And now we've created a policy.

Once the policy exists, we're going to go to Users and create a new user.

Again, you can pick whatever username you would like.

I will choose the name 'mysiteuploadsuser.' But what is very important is that you check this box, 'programmatic access.' Now the system is giving us an opportunity to attach a policy to the new user account that we've just created.

Click here on 'Attach existing policies directly.' As you can see, there is a large list of already existing policies.

We're not going to use any of these.

We've already created our own policy, which we will select by simply searching it up in this search bar and clicking on the small box.

Scroll down and click on Next in order to finish creating the user.

The system will create a new user and it is showing you two very important credentials: the access key and the secret access key.

Copy both of these credentials.

You are now able to close the Amazon Web Services interface and finish by pasting the credentials in your text file from earlier, which we will use in the next video.