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 +4 -4
- data/ChangeLog +5 -0
- data/README.md +10 -0
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_s3.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a92423eae36ed7c87a368ec4c7f01f0aab4a8970
|
|
4
|
+
data.tar.gz: 101e479e7ffefa18ab175bc165ed5194de28c760
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d708a3cfb7a41842dbf00a521dea26a633fa695107bb7f96be852e6b5be3c0ddfbb177a9616e520caf9877194f363b43466cf4a921ef5a76378d54542420bea1
|
|
7
|
+
data.tar.gz: a4eced1aac1674fcf0427b1fd4d9f24a5af7e64ab5a7acb7a91343dc4fd3aea9c5836d3d6fb1d8c47ee686a0cd419b3f8bcd7e7f350a3adfab6163908a0772ac
|
data/ChangeLog
CHANGED
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
|
+
0.6.2
|
data/lib/fluent/plugin/out_s3.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
12
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|