skip to Main Content

Amazon web services – Getting Access denied error while using aws cli for enabling MFA delete on S3 bucket

Created user and that user having administrator permission and as well S3 bucket full access. Created S3 bucket with default setting. Trying to enable MFA delete via AWS CLI: aws s3api put-bucket-versioning --bucket testing-mfa-delete --versioning-configuration Status=Enabled,MFADelete=Enabled --mfa "arn:aws:iam::123456789012:mfa/Admin_App" --profile deletemfa…

VIEW QUESTION

Laravel with s3 storage

I have installed the package with composer require league/flysystem-aws-s3-v3 "^3.0" --with-all-dependencies to my laravel and config the .env file. But I am unable to upload file to s3: $filename = "Picture3.png"; $file = Storage::disk("public")->get($filename); $status = Storage::disk("s3")->put("post_thumbnails/".$filename, $file); dd($status); When…

VIEW QUESTION
Back To Top
Search