rcredstash 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cred_stash/cli.rb +3 -1
- data/lib/cred_stash/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eeaae118cd72f983efdda60c597d703f92b543d1
|
4
|
+
data.tar.gz: dcb5230fb97ac4069813799f07d3ed46c4877f4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410adb6020eec4fbc8da75758f66fd1a6edcf85ab217fefb833a98a9d9e5093149dccdeb610b6cf91e218b8a29aff414eddbf64258df6aa0c5eb2cb03d7ac321
|
7
|
+
data.tar.gz: 57547c750cad85fd6af72859ed103dcb3d8f3bf29a17388f4125d0e23dc83354a092f0a583904ad72f810d455ee7c44d6bda82be8577a0ee5c8d4fabfb6ced55
|
data/lib/cred_stash/cli.rb
CHANGED
@@ -8,9 +8,11 @@ module CredStash
|
|
8
8
|
end
|
9
9
|
|
10
10
|
desc "put [key name]", "Put a value for key name"
|
11
|
+
option :kms_key_id , :desc => "the KMS key-id of the master key to use. Defaults to alias/credstash"
|
11
12
|
def put(name)
|
12
13
|
value = Readline.readline("secret value> ")
|
13
|
-
|
14
|
+
kms_key_id = options[:kms_key_id] if options[:kms_key_id]
|
15
|
+
CredStash.put(name, value, kms_key_id: kms_key_id)
|
14
16
|
puts "#{name} has stored."
|
15
17
|
end
|
16
18
|
|
data/lib/cred_stash/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rcredstash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- adorechic
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.6.
|
133
|
+
rubygems_version: 2.6.13
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: A Ruby port of CredStash
|