table of contents
| Net::Amazon::S3::Authorization::IAM(3pm) | User Contributed Perl Documentation | Net::Amazon::S3::Authorization::IAM(3pm) |
NAME¶
Net::Amazon::S3::Authorization::IAM - IAM authorization information
VERSION¶
version 0.97
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) 2020 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.
| 2020-10-09 | perl v5.30.3 |