changeset 17:ae1459564f66

Replace old associate keys with new IAMs user keys
author Robert Boland <robert@markup.co.uk>
date Mon, 24 Jul 2017 11:38:35 -0400
parents 093e42d5a874
children c41a5802b26c 0578c6e438d3
files php/read/getBookDetails.php php/read/similar.php xml/amazonBookSearch.php xml/getAmazonInfo.php
diffstat 4 files changed, 11 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/php/read/getBookDetails.php	Thu Apr 20 18:15:34 2017 -0400
+++ b/php/read/getBookDetails.php	Mon Jul 24 11:38:35 2017 -0400
@@ -161,9 +161,8 @@
 			'xml' => 'http://xml.amazon.com'   ,  //USA xml server
 		  ),
 		);
-			
-		$public_key ="AKIAJBXEHTNCU6LLFNIA";
-		$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA";
+		$public_key ="AKIAIHTNWC7L6LOUY4LQ";
+		$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";			
 
 		//for all parameters see if the user has overruled it or use the default
 		foreach ($Adefault as $i=>$d) {
--- a/php/read/similar.php	Thu Apr 20 18:15:34 2017 -0400
+++ b/php/read/similar.php	Mon Jul 24 11:38:35 2017 -0400
@@ -75,9 +75,10 @@
   ),
 );
 
-include "aws_signed_request.php";  
-$public_key ="AKIAJBXEHTNCU6LLFNIA";
-$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA";
+include "aws_signed_request.php";
+$public_key ="AKIAIHTNWC7L6LOUY4LQ";
+$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";  
+
 
 //for all parameters see if the user has overruled it or use the default
 foreach ($Adefault as $i=>$d) {
--- a/xml/amazonBookSearch.php	Thu Apr 20 18:15:34 2017 -0400
+++ b/xml/amazonBookSearch.php	Mon Jul 24 11:38:35 2017 -0400
@@ -54,8 +54,8 @@
 );
 
 include "aws_signed_request.php";  
-$public_key ="AKIAJBXEHTNCU6LLFNIA";
-$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA";
+$public_key ="AKIAIHTNWC7L6LOUY4LQ";
+$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";
 
 //for all parameters see if the user has overruled it or use the default
 foreach ($Adefault as $i=>$d) {
--- a/xml/getAmazonInfo.php	Thu Apr 20 18:15:34 2017 -0400
+++ b/xml/getAmazonInfo.php	Mon Jul 24 11:38:35 2017 -0400
@@ -64,10 +64,8 @@
 
 //if(go != 1)
 	//include "aws_signed_request.php";  
-	
-$public_key ="AKIAJBXEHTNCU6LLFNIA";
-$private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA";
-
+$public_key ="AKIAIHTNWC7L6LOUY4LQ";
+$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";
 //for all parameters see if the user has overruled it or use the default
 foreach ($Adefault as $i=>$d) {
   $$i=isset($_GET[$i])?$_GET[$i]:$d;
@@ -427,7 +425,7 @@
                                     [@attributes] => Array
                                         (
                                             [Name] => AWSAccessKeyId
-                                            [Value] => AKIAJBXEHTNCU6LLFNIA
+                                            [Value] => AKIAIHTNWC7L6LOUY4LQ 
                                         )
 
                                 )