Beispiel #1
0
        public BlobStore(string bucket, string subdir)
        {
            this.logger = Serilog.Log
                          .ForContext(HoneycombSink.DatasetPropertyKey, "Storage")
                          .ForContext("bucket", bucket)
                          .ForContext("subdir", subdir);

            this.bucket = bucket;
            this.subdir = subdir;

            string accessKeyString;

            AmazonUtils.GetAuthInfo(out this.accessKeyId, out accessKeyString);
            this.secretAccessKey = Encoding.UTF8.GetBytes(accessKeyString);
        }
Beispiel #2
0
 public ThumbnailServiceClient()
 {
     AmazonUtils.GetAuthInfo(out this.accessKeyId, out this.secretAccessKey);
 }