s3-secure 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ac426bde14db38fecbc1d692dc5c79ddd4078da837d9b6d389752fdb96d5805
4
- data.tar.gz: 2f8a8aaf36996722a23c4b0afd95ff05936ed12e4c1e384f9594cd4b22cc4054
3
+ metadata.gz: f1ad88f63321e4af144648e693241d144cc7c2b6419473fe2ec27686bfb24ff0
4
+ data.tar.gz: 3627287f08716d0363db39cb4e42ac8edb47c2cbba7c6eb9e60a896f2904ee65
5
5
  SHA512:
6
- metadata.gz: c0ff5d52734ae470d203b43c19fff7c87924709b15cb5f86420faa2886a4e43bc4ead66cd531fd9a98dcb480143db2286a9c58af8d3be1e4357966d357c78ac4
7
- data.tar.gz: 95ca0ef971df08986f2dfb7b9fd6bcec8d1097d44fb38fc999d456e6863f0a7ba28767824a9c203c4c9f78c81b9074f16811f762efc8fc3276ec25f2e4bdcf93
6
+ metadata.gz: 355d27a8f752768ce64bf48d1dac8994326f73b39a7209864c458e49fd542b008dc317d9f4f2c9ba94d2523b16b947177290a6a86490fdeb4f1b00d324872ce4
7
+ data.tar.gz: 65f51dadda2ad669acad531464ec8a404042b216c78629f2a742966e6bb372d6b722ab686f9d9a6da97b8815901e40fda6eae44cbe6d02a3dafcf48be0eab67b
@@ -3,5 +3,8 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.2.0]
7
+ - encryption enable: add kms-key option
8
+
6
9
  ## [0.1.0]
7
10
  - Initial release.
@@ -14,6 +14,7 @@ module S3Secure
14
14
 
15
15
  desc "enable BUCKET", "enable bucket encryption"
16
16
  long_desc Help.text("encryption/enable")
17
+ option :kms_key, desc: "KMS Key Id. If this is set will use sse_algorithm=aws:kms Otherwise will use sse_algorithm=AES256"
17
18
  def enable(bucket)
18
19
  Enable.new(options.merge(bucket: bucket)).run
19
20
  end
@@ -1,3 +1,3 @@
1
1
  module S3Secure
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3-secure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen