1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
OpenIntegrations/docs/en/examples/S3/CreateBucket.txt
Vitaly the Alpaca (bot) 7c663b34c7 Main build (Jenkins)
2024-11-18 10:27:37 +03:00

17 lines
454 B
Plaintext
Vendored

URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
// Directory bucket
Name = "opi-dirbucket3";
Result = OPI_S3.CreateBucket(Name, BasicData, True);
// General purpose bucket
Name = "opi-gpbucket3";
Result = OPI_S3.CreateBucket(Name, BasicData);