You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Name = "opi-dirbucket1";
|
||||
Name = "opi-dirbucket3";
|
||||
|
||||
Result = OPI_S3.CheckBucketAvailability(Name, BasicData, True);
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
// Directory bucket
|
||||
|
||||
Name = "opi-dirbucket1";
|
||||
Name = "opi-dirbucket3";
|
||||
|
||||
Result = OPI_S3.CreateBucket(Name, BasicData);
|
||||
|
||||
// General purpose bucket
|
||||
|
||||
Name = "opi-gpbucket1";
|
||||
Name = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.CreateBucket(Name, BasicData, False);
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
// Directory bucket
|
||||
|
||||
Name = "opi-dirbucket1";
|
||||
Name = "opi-dirbucket3";
|
||||
|
||||
Result = OPI_S3.DeleteBucket(Name, BasicData);
|
||||
|
||||
// General purpose bucket
|
||||
|
||||
Name = "opi-gpbucket1";
|
||||
Name = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.DeleteBucket(Name, BasicData, False);
|
||||
|
||||
10
docs/en/examples/S3/GetBucketEncryption.txt
Normal file
10
docs/en/examples/S3/GetBucketEncryption.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "opi-newbucket2";
|
||||
|
||||
Result = OPI_S3.GetBucketEncryption(Name, BasicData, False);
|
||||
18
docs/en/examples/S3/PutBucketEncryption.txt
Normal file
18
docs/en/examples/S3/PutBucketEncryption.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
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, False);
|
||||
Reference in New Issue
Block a user