Skip to content

This is a proof of concept to confirm that there is a way to validate S3 settings without uploading a file.

Notifications You must be signed in to change notification settings

GaryTowers/s3-settings-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 settings validation

This is a proof of concept to confirm that there is a way to validate S3 settings without uploading a file.

This POC validates settings by requesting the ACLs for a bucket see documentation.

It can validate

  • Key
  • Signature
  • Bucket name

It cannot validate

  • Prefix

Install

  • Clone the project anc cd to it
  • Install AWS S3 PHP sdk by running the command composer install
  • Place the project on a php web server

Run

  • Fire up your web server and open the index.php on your prefered browser/httt client
  • If you will see a JSON response with some instructions and error types then you are good to start testing!
  • Do a get request to index.php?cred_key=<aws_key>&cred_secret=<aws_secret>&bucket=<bucket_name>

About

This is a proof of concept to confirm that there is a way to validate S3 settings without uploading a file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages