Net::Amazon::S3::Authorization::IAM - IAM authorization information
version 0.97
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 => ..., ), ... );
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.
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.
use
Branislav Zahradník <barney@cpan.org>
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.
To install Net::Amazon::S3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Amazon::S3
CPAN shell
perl -MCPAN -e shell install Net::Amazon::S3
For more information on module installation, please visit the detailed CPAN module installation guide.