O'Reilly logo

Amazon S3 Cookbook by Naoya Hashimoto

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to make requests using IAM user temporary credentials with AWS SDK

There are situations where you need to grant permissions to temporarily access Amazon S3 resources. For example, your applications create temporary users to get objects in an S3 bucket for a certain period of time and the permissions granted to the temporary user need to be disabled or removed after the duration expires. IAM users support to request temporary security credentials using the AWS Security Token Service (AWS STS).You will learn how to make requests using IAM user temporary credentials with AWS SDK for PHP.

Tip

For further information about the AWS Security Token Service (AWS STS), see http://docs.aws.amazon.com/STS/latest/UsingSTS/Welcome.html.

Getting ready

As we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required