1Net::Amazon::S3::AuthorUiszeartiCoonn:t:rIiAbMu(t3e)d PeNrelt:D:oAcmuamzeonnt:a:tSi3o:n:Authorization::IAM(3)
2
3
4
6 Net::Amazon::S3::Authorization::IAM - IAM authorization information
7
9 version 0.98
10
12 use Net::Amazon::S3;
13 use Net::Amazon::S3::Authorization::IAM;
14
15 # obtain instance credentials
16 use VM::EC2::Security::CredentialCache;
17 my $s3 = Net::Amazon::S3->new (
18 authorization_context => Net::Amazon::S3::Authorization::IAM->new,
19 ...
20 );
21
22 # or just provide your values
23 my $s3 = Net::Amazon::S3->new (
24 authorization_context => Net::Amazon::S3::Authorization::IAM->new (
25 aws_access_key_id => ...,
26 aws_secret_access_key => ...,
27 aws_session_token => ...,
28 ),
29 ...
30 );
31
33 Authorization context using instance session credentials.
34
35 Unless specified authorization context obtains credentials via
36 VM::EC2::Security::CredentialCache. It is not listed as a
37 Net::Amazon::S3 dependency.
38
40 This module with its dependencies will be moved out and distributed
41 separately without dependency from Net::Amazon::S3.
42
43 If you use IAM, please consider to add proper "use" statement into your
44 code.
45
47 Branislav ZahradnĂk <barney@cpan.org>
48
50 This software is copyright (c) 2021 by Amazon Digital Services, Leon
51 Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav
52 ZahradnĂk.
53
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56
57
58
59perl v5.32.1 2021-03N-e2t4::Amazon::S3::Authorization::IAM(3)