Group
Extension

Matches 2

Amazon-S3-Thin ( A/AK/AKIYM/Amazon-S3-Thin-0.32.tar.gz, AKIYM, 2022; MetaCPAN )
Amazon-S3-Thin/lib/Amazon/S3/Thin/Credentials.pm ( view source; MetaCPAN )
ntials->from_ecs_container;

=cut

use strict;
use warnings;

use Carp;
use JSON::PP ();
use LWP::UserAgent;

my $JSON = JSON::PP->new->utf8->canonical;

sub new {
    my ($class, $key, $secret, $sess
vice for credentials: ' . $cred->decoded_content unless $cred->is_success;

    my $obj = eval { $JSON->decode($cred->decoded_content) };
    croak "Invalid data returned from metadata service: $@" if
;
  croak 'Error retrieving container credentials' unless $cred->is_success;

  my $obj = eval { $JSON->decode($cred->decoded_content) };
  croak "Invalid data returned: $@" if $@;

  return __PACKAGE
Amazon-S3-Thin ( A/AK/AKIYM/Amazon-S3-Thin-0.32.tar.gz, AKIYM, 2022; MetaCPAN )
Amazon-S3-Thin/lib/Amazon/S3/Thin/Signer/V4.pm ( view source; MetaCPAN )
Signature4> module.

=cut

use strict;
use warnings;
use AWS::Signature4;
use Digest::SHA ();
use JSON::PP ();
use MIME::Base64 ();
use POSIX 'strftime';

sub new {
    my ($class, $credentials, $regi
$signing_key);

    return $fields;
}

my $_JSON;
sub _encode_policy {
    my $self = shift;
    return MIME::Base64::encode_base64(
        ($_JSON ||= JSON::PP->new->utf8->canonical)->encode(@_),
  

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.