fluent-plugin-s3 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd2f564114dd0e1f90168baa3f8ed983a9eba33d
4
- data.tar.gz: 259cb9cbe6213eeaf6e2734706eaf0701cb17812
3
+ metadata.gz: a92423eae36ed7c87a368ec4c7f01f0aab4a8970
4
+ data.tar.gz: 101e479e7ffefa18ab175bc165ed5194de28c760
5
5
  SHA512:
6
- metadata.gz: 7437b11fcd3ac8ce9ce0aabc34b2959eee14f003ba5c54ec3e5feed94658f18094811490c2505e548c0f9ea00136b333a0f86a5c914729a1e9d31a85ed0535e6
7
- data.tar.gz: 3037249250cfed2cbe07343f826097ecdfabf33a3e3ebb9dac7a10c574b8224f4fefeceb1ae5bde87409b74d87da84355559eb93fcd91d1a52539868ba0c5589
6
+ metadata.gz: d708a3cfb7a41842dbf00a521dea26a633fa695107bb7f96be852e6b5be3c0ddfbb177a9616e520caf9877194f363b43466cf4a921ef5a76378d54542420bea1
7
+ data.tar.gz: a4eced1aac1674fcf0427b1fd4d9f24a5af7e64ab5a7acb7a91343dc4fd3aea9c5836d3d6fb1d8c47ee686a0cd419b3f8bcd7e7f350a3adfab6163908a0772ac
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Release 0.6.2 - 2015/11/24
2
+
3
+ * Add ssekms_key_id option to use KMS encryption
4
+
5
+
1
6
  Release 0.6.1 - 2015/10/30
2
7
 
3
8
  * Fix server_side_encryption error
data/README.md CHANGED
@@ -278,6 +278,16 @@ Overwrite already existing path. Default is false, which raises an error
278
278
  if a s3 object of the same path already exists, or increment the
279
279
  `%{index}` placeholder until finding an absent path.
280
280
 
281
+ **use_server_side_encryption**
282
+
283
+ The Server-side encryption algorithm used when storing this object in S3
284
+ (e.g., AES256, aws:kms)
285
+
286
+ **ssekms_key_id**
287
+
288
+ Specifies the AWS KMS key ID to use for object encryption. You have to
289
+ set "aws:kms" to `use_server_side_encryption` to use the KMS encryption.
290
+
281
291
  ### assume_role_credentials
282
292
 
283
293
  Typically, you use AssumeRole for cross-account access or federation.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -55,6 +55,7 @@ module Fluent
55
55
  config_param :acl, :string, :default => :private
56
56
  config_param :hex_random_length, :integer, :default => 4
57
57
  config_param :overwrite, :bool, :default => false
58
+ config_param :ssekms_key_id, :string, :default => nil
58
59
 
59
60
  attr_reader :bucket
60
61
 
@@ -167,6 +168,7 @@ module Fluent
167
168
 
168
169
  put_options = {:body => tmp, :content_type => @compressor.content_type, :storage_class => @storage_class}
169
170
  put_options[:server_side_encryption] = @use_server_side_encryption if @use_server_side_encryption
171
+ put_options[:ssekms_key_id] = @ssekms_key_id if @ssekms_key_id
170
172
  @bucket.object(s3path).put(put_options)
171
173
 
172
174
  @values_for_s3_object_chunk.delete(chunk.unique_id)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-29 00:00:00.000000000 Z
12
+ date: 2015-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd