How do I use the AWS SDK for PHP with Tenbyte T2?
You can take advantage of Tenbyte T2 Cloud Storage using the AWS SDK for PHP alongside the Tenbyte S3-Compatible API.Important: Pre-Signed URLs that are generated with the PHP SDK are not currently compatible with Tenbyte T2.
Prerequisites
When you create a Tenbyte T2 bucket, select the Allow List All Bucket Names checkbox. This option is required for the List Buckets operation. If you did not select this when you created your application key, you must create a new application key with this permission enabled.Configuration
First, configure your Tenbyte T2 credentials in the~/.aws/credentials file:
Example: Creating a Bucket
This example shows how you create a bucket using the AWS SDK for PHP with a profile namedtenbyte in the ~/.aws/credentials file.