---
name: "Net::Amazon::S3::Authorization::IAM"
section: "3pm"
platform: "linux"
package: "libnet-amazon-s3-perl"
version: "0.991-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::Amazon::S3::Authorization::IAM"
---

# Net::Amazon::S3::Authorization::IAM(3pm)

IAM authorization information

## NAME

Net::Amazon::S3::Authorization::IAM - IAM authorization information

## VERSION

version 0.991

## SYNOPSIS

```
        use Net::Amazon::S3;
        use Net::Amazon::S3::Authorization::IAM;
        # obtain instance credentials
        use VM::EC2::Security::CredentialCache;
        my $s3 = Net::Amazon::S3->new (
                authorization_context => Net::Amazon::S3::Authorization::IAM->new,
                ...
        );
        # or just provide your values
        my $s3 = Net::Amazon::S3->new (
                authorization_context => Net::Amazon::S3::Authorization::IAM->new (
                        aws_access_key_id     => ...,
                        aws_secret_access_key => ...,
                        aws_session_token     => ...,
                ),
                ...
        );
```

## DESCRIPTION

Authorization context using instance session credentials.

Unless specified authorization context obtains credentials via VM::EC2::Security::CredentialCache. It is not listed as a Net::Amazon::S3 dependency.

## INCOMPATIBILITY WARNING

This module with its dependencies will be moved out and distributed separately without dependency from Net::Amazon::S3.

If you use IAM, please consider to add proper `"use"` statement into your code.

## AUTHOR

Branislav Zahradník \<barney@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
