Does Simple Savant connect to SimpleDb via HTTPS?

Oct 12, 2010 at 4:04 AM

Hi Ashley,

   Rather than assuming "yes", I thought I'd better ask.  All AWS documentation urges HTTPS connections to SimpleDB, but apparently it still allows REST to use HTTP.  The .Net library they supply uses HTTPS exclusively, which is another strong indicator of the outcome.  So does Simple Savant connect via HTTPS?  Thanks!

Coordinator
Oct 12, 2010 at 1:31 PM

Simple Savant runs on top of the AWS SDK which uses https by default. To connect via http you must customize the AmazonSimpleDBConfig used by Savant as shown below:

 

var savantConfig = new SavantConfig();
var simpleDbConfig = new AmazonSimpleDBConfig
	{
		ServiceURL = "http://sdb.amazonaws.com"
	};
var simpleDbClient = new AmazonSimpleDBClient(AppSettings.Default.AwsAccessKeyId, AppSettings.Default.AwsSecretKey, simpleDbConfig);
var savant = new SimpleSavant(simpleDbClient, savantConfig);

Oct 12, 2010 at 9:02 PM

HTTPS is just what I hoped - thanks for all your help!