package Mojolicious::Plugin::AWS;
use Mojo::Base 'Mojolicious::Plugin';
use Mojo::JSON 'encode_json';
use Mojo::AWS;
use Mojo::AWS::S3;
our $VERSION = '0.21';
sub register {
my ($self, $app, $co
secret_key => $args{secret_key}
);
## FIXME: MessageStructure 'json' and an encode_json Message needs
## FIXME: to be parameterized
my $tx = $aws->sign
e},
url => $args{url},
headers => {'Accept' => 'application/json'},
signed_headers =>
{'Content-Type' => 'application/x-www-form