Index: /lang/perl/minish/trunk/t/10_plugins/net_amazon/40_page.t
===================================================================
--- /lang/perl/minish/trunk/t/10_plugins/net_amazon/40_page.t (revision 33876)
+++ /lang/perl/minish/trunk/t/10_plugins/net_amazon/40_page.t (revision 34099)
@@ -14,11 +14,14 @@
 
 my $apikey = q{};
-my $envkey = q{MINISH_PLUGIN_NET_AMAZON_APIKEY};
-if ( exists $ENV{$envkey} ) {
-    $apikey = $ENV{$envkey};
+my $secret = q{};
+my $prefix = q{MINISH_PLUGIN_NET_AMAZON};
+if ( exists $ENV{"${prefix}_APIKEY"} && exists $ENV{"${prefix}_SECRET"} ) {
+    $apikey = $ENV{"${prefix}_APIKEY"};
+    $secret = $ENV{"${prefix}_SECRET"};
 }
 else {
-    plan skip_all => "${envkey} is not specified.";
+    plan skip_all => "${prefix}_APIKEY or ${prefix}_SECRET is not specified";
 }
+
 
 plan tests => 3;
@@ -45,6 +48,7 @@
 my $plugin = $class->new( config => {
     amazon => {
-        token   => $apikey,
-        locale  => 'jp',
+        token       => $apikey,
+        secret_key  => $secret,
+        locale      => 'jp',
     },
 } );
Index: /lang/perl/minish/trunk/t/10_plugins/net_amazon/30_prepare.t
===================================================================
--- /lang/perl/minish/trunk/t/10_plugins/net_amazon/30_prepare.t (revision 33876)
+++ /lang/perl/minish/trunk/t/10_plugins/net_amazon/30_prepare.t (revision 34099)
@@ -14,11 +14,14 @@
 
 my $apikey = q{};
-my $envkey = q{MINISH_PLUGIN_NET_AMAZON_APIKEY};
-if ( exists $ENV{$envkey} ) {
-    $apikey = $ENV{$envkey};
+my $secret = q{};
+my $prefix = q{MINISH_PLUGIN_NET_AMAZON};
+if ( exists $ENV{"${prefix}_APIKEY"} && exists $ENV{"${prefix}_SECRET"} ) {
+    $apikey = $ENV{"${prefix}_APIKEY"};
+    $secret = $ENV{"${prefix}_SECRET"};
 }
 else {
-    plan skip_all => "${envkey} is not specified.";
+    plan skip_all => "${prefix}_APIKEY or ${prefix}_SECRET is not specified";
 }
+
 
 plan tests => 6;
@@ -41,6 +44,7 @@
 my $plugin = $class->new( config => {
     amazon => {
-        token   => $apikey,
-        locale  => 'jp',
+        token       => $apikey,
+        secret_key  => $secret,
+        locale      => 'jp',
     },
 } );
Index: /lang/perl/minish/trunk/t/10_plugins/net_amazon/20_request.t
===================================================================
--- /lang/perl/minish/trunk/t/10_plugins/net_amazon/20_request.t (revision 33876)
+++ /lang/perl/minish/trunk/t/10_plugins/net_amazon/20_request.t (revision 34099)
@@ -14,10 +14,12 @@
 
 my $apikey = q{};
-my $envkey = q{MINISH_PLUGIN_NET_AMAZON_APIKEY};
-if ( exists $ENV{$envkey} ) {
-    $apikey = $ENV{$envkey};
+my $secret = q{};
+my $prefix = q{MINISH_PLUGIN_NET_AMAZON};
+if ( exists $ENV{"${prefix}_APIKEY"} && exists $ENV{"${prefix}_SECRET"} ) {
+    $apikey = $ENV{"${prefix}_APIKEY"};
+    $secret = $ENV{"${prefix}_SECRET"};
 }
 else {
-    plan skip_all => "${envkey} is not specified.";
+    plan skip_all => "${prefix}_APIKEY or ${prefix}_SECRET is not specified";
 }
 
@@ -34,6 +36,7 @@
 my $plugin = $class->new( config => {
     amazon => {
-        token   => $apikey,
-        locale  => 'jp',
+        token       => $apikey,
+        secret_key  => $secret,
+        locale      => 'jp',
     },
 } );
