Created
June 19, 2013 22:42
-
-
Save zkwentz/5818773 to your computer and use it in GitHub Desktop.
Sample config for AWS-SDK-PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $aws_key, $aws_secret, $aws_region; | |
return array( | |
'services' => array( | |
'default_settings' => array( | |
'params' => array( | |
'key' => $aws_key, | |
'secret' => $aws_secret, | |
'region' => $aws_region | |
) | |
), | |
'dynamodb' => array( | |
'extends' => 'default_settings', | |
'class' => 'Aws\DynamoDb\DynamoDbClient' | |
), | |
's3' => array( | |
'extends' => 'default_settings', | |
'class' => 'Aws\S3\S3Client', | |
'LocationConstraint' => $aws_region | |
) | |
) | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment