secrets_cli 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/secrets_cli.rb +1 -1
- data/lib/secrets_cli/vault/auth.rb +3 -3
- data/lib/secrets_cli/vault/base.rb +1 -0
- data/lib/secrets_cli/version.rb +1 -1
- data/secrets_cli.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c91a4c268a6cc654690897b563f08c7ffa241952
|
4
|
+
data.tar.gz: 9ae33aced23a9d4e4fe880a6731155518dd64f13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ee3f823782e72b631a53b3bffdad7c801d720bc068c568eddc157d498c91b00501e6bec62987a06e2b8884a9126bc73d746b0373b35475e7ed29496ef0cbe60
|
7
|
+
data.tar.gz: e0aa601168a7efe0be0ce8c4392912dd8195212c29c3d2119a72f5ebae95a89da31881359d331079f04060449aa82910049bf2fcebf71e52c393f664c6cc3dbc
|
data/lib/secrets_cli.rb
CHANGED
@@ -19,11 +19,11 @@ module SecretsCli
|
|
19
19
|
def command
|
20
20
|
case auth_method
|
21
21
|
when 'github'
|
22
|
-
::Vault.auth.github(auth_token).auth
|
22
|
+
::Vault.auth.github(auth_token).auth.policies
|
23
23
|
when 'token'
|
24
|
-
::Vault.auth.token(auth_token).auth
|
24
|
+
::Vault.auth.token(auth_token).auth.policies
|
25
25
|
when 'app_id'
|
26
|
-
::Vault.auth.app_id(auth_app_id, auth_user_id).auth
|
26
|
+
::Vault.auth.app_id(auth_app_id, auth_user_id).auth.policies
|
27
27
|
else
|
28
28
|
error! "Unknown auth method #{auth_method}"
|
29
29
|
end
|
data/lib/secrets_cli/version.rb
CHANGED
data/secrets_cli.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secrets_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stjepan Hadjic
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: vault
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.5.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.5.0
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- d4be4st@gmail.com
|