lamw / vmware-scripts

Various scripts for VMware based solutions
http://www.williamlam.com/
BSD 2-Clause "Simplified" License
859 stars 489 forks source link

make_vcsp_2018 : Adding S3 onprem #89

Open tkelkermans opened 4 years ago

tkelkermans commented 4 years ago

Hello,

Would it be possible to add a possibility to have it work with an on-prem S3 solution ? So being able to add the url of our S3 solution ?

Thanks

lamw commented 4 years ago

possibly ... you'd have to look at your s3 implementation and APIs it offers up. This is really specific for AWS S3, as we're relying on its API and how it works. The source is there for anyone to try it out :)

SilentT19 commented 1 year ago

Hi

for me i have modify theres lines

    s3 = boto3.resource(        
        service_name='s3',
        endpoint_url='https://s3onprem',
        verify='/pathtocertificate'
        )
    s3_client = boto3.client(        
        service_name='s3',
        endpoint_url='https://s3onprem',
        verify='/pathtocertificate'
        )

Between https://github.com/lamw/vmware-scripts/blob/master/python/make_vcsp_2018.py#L373 and https://github.com/lamw/vmware-scripts/blob/master/python/make_vcsp_2018.py#L377