Skip to content

Instantly share code, notes, and snippets.

@S4lem
S4lem / f1.php
Created August 7, 2022 22:10
PITOS3
<?php
//Include AWS SDK
require '/home/bitnami/vendor/autoload.php';
//Start S3 client
$s3 = new Aws\S3\S3Client([
'region' => 'us-west-2',
'version' => 'latest',
'credentials' => [
'key' => '<iamkey>', //IAM user key