secure_data_bag 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/chef/knife/secure_data_bag/export_mixin.rb +2 -2
- data/lib/secure_data_bag/version.rb +1 -1
- 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: c1615c4550e8e16e2f2b903c9708bf1f6d52ea80
|
4
|
+
data.tar.gz: fe10fa008769ebdd24005eb53a98e8bcf78f9466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dd589c95838ea3531129ef82047297efc7a72ed3125967954c203446931ba790f8825175ba05df5c9493162dc0104da161d2265049f718828abbfd82f4dbc1f
|
7
|
+
data.tar.gz: 417362139aabf42d8eb5a9a1d670cb4481e5741d73c0a0fadff109de57a7ddf1f73903f45a18e2da1acc7feec440a2fd2231662335a5a823f4d182bd8808304a
|
data/CHANGELOG.md
CHANGED
@@ -16,7 +16,7 @@ class Chef
|
|
16
16
|
|
17
17
|
base.option :export_format,
|
18
18
|
description: 'Format to export the data_bag_item as. If unset, this will default to the encryption format.',
|
19
|
-
long: '--export-format'
|
19
|
+
long: '--export-format [plain|encrypted|nested]'
|
20
20
|
|
21
21
|
base.option :export_root,
|
22
22
|
long: '--export-root PATH',
|
@@ -42,7 +42,7 @@ class Chef
|
|
42
42
|
# @since 3.0.0
|
43
43
|
def export!(data_bag, item_name, item)
|
44
44
|
item.encryption_format = export_format
|
45
|
-
data = item.to_hash
|
45
|
+
data = item.to_hash(encrypt: true)
|
46
46
|
|
47
47
|
if export_root.nil?
|
48
48
|
ui.fatal('Export root is not defined')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secure_data_bag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Serafini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|