开发者

How do I create a s3 bucket, IAM user with full access to S3 and how do I pass the users credentials to my application?

I am using Amazon cloudformation template https://s3.a开发者_如何学Cmazonaws.com/cloudformation-templates-us-east-1/PHPHelloWorld.template to setup my application. I need to create a S3 bucket and a IAM user with full access to S3. My PHP application would need the credentials of the user created to upload files to s3.

How do I create a s3 bucket, IAM user with full access to S3 and how do I pass the users credentials to my application ?

Also I have to install the Amazon PHP SDK and some softwares, what are the entries I need to add to the UserData section of PHPHelloWorld.template

Thank you


The example template list contains a template for giving an IAM user full access.

Somewhat counter-intuitively you don't set any properties on the S3 bucket, it's either on an S3 bucket policy, or the IAM user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜