mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-25 21:39:21 +02:00
17 lines
634 B
Plaintext
Vendored
17 lines
634 B
Plaintext
Vendored
URL = "storage-155.s3hoster.by";
|
|
AccessKey = "BRN5RKJE67...";
|
|
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
|
Region = "BTC";
|
|
|
|
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
|
Name = "opi-newbucket2";
|
|
XmlConfig = "<ServerSideEncryptionConfiguration xmlns=""http://s3.amazonaws.com/doc/2006-03-01/"">
|
|
| <Rule>
|
|
| <ApplyServerSideEncryptionByDefault>
|
|
| <SSEAlgorithm>AES256</SSEAlgorithm>
|
|
| </ApplyServerSideEncryptionByDefault>
|
|
| </Rule>
|
|
|</ServerSideEncryptionConfiguration>";
|
|
|
|
Result = OPI_S3.PutBucketEncryption(Name, BasicData, XmlConfig);
|