Back

Laravel how to upload/download Files to amazon s3 using kms


Helo guys, I'am trying to upload/download files from amazon s3 using KMS, although i have implemented this without using KMS by the following code,

request()->file('file')->store(
    'my-file',
    's3'
);

Now I'am trying add kms feature to my bucket and i have created my own key and implemented bucket policy also, but i cant get the possible syntax for uploading/downloading files using kms for laravel/php, iam newbie here for s3 kindly guide if i did anything wrong, thanks in advance.


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us