secrets_cli 1.12.2 → 1.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -1
- data/lib/secrets_cli/vault/base.rb +1 -1
- data/lib/secrets_cli/version.rb +1 -1
- data/secrets_cli.gemspec +3 -3
- metadata +16 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab3dc381cb5faef26b4d248db2cef823176c22bbc1751934861a9f14349996c4
|
4
|
+
data.tar.gz: 90c0f76a289e64bbf5c37be71cf584b6ffd9f7413311bbcb263750f95ca8ec7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e5b7920c0bf7a3e5d0b52759f9c33ae84dcd925d4c73d01662de67d5502eca33dcdca9c000deea1ead0dce0ee344596289828d5eaa78304acfd1b0d0d1a8494
|
7
|
+
data.tar.gz: 0def29e0a5572c5c671e505170cf2db7bb0c024abad82d3ee5d372a774fb219617b5228cbec6f69aeab2d3a36611a8e6f780f2185ce174435dba255de5a58945
|
data/README.md
CHANGED
@@ -6,6 +6,23 @@ This is a CLI for easier use of [vault](https://www.vaultproject.io/)
|
|
6
6
|
|
7
7
|
There is also a mina plugin [mina-secrets](https://github.com/infinum/mina-secrets)
|
8
8
|
|
9
|
+
## Table of contents
|
10
|
+
|
11
|
+
1. [Installation](#installation)
|
12
|
+
1. [Prerequisites](#prerequisites)
|
13
|
+
1. [Usage](#usage)
|
14
|
+
1. [Init](#init)
|
15
|
+
1. [Policies](#policies)
|
16
|
+
1. [Environments](#environments)
|
17
|
+
1. [storage_keys and environments](#storage_keys-and-environments)
|
18
|
+
1. [Read](#read)
|
19
|
+
1. [Edit](#edit)
|
20
|
+
1. [Pull](#pull)
|
21
|
+
1. [Push](#push)
|
22
|
+
1. [Development](#development)
|
23
|
+
1. [Contributing](#contributing)
|
24
|
+
1. [License](#license)
|
25
|
+
|
9
26
|
## Installation
|
10
27
|
|
11
28
|
Add this line to your application's Gemfile:
|
@@ -68,7 +85,7 @@ Example of the `.secrets`:
|
|
68
85
|
|
69
86
|
To get all the policies your auth grants please use this command.
|
70
87
|
|
71
|
-
###
|
88
|
+
### Environments
|
72
89
|
|
73
90
|
$ secrets list
|
74
91
|
|
@@ -10,7 +10,7 @@ module SecretsCli
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def call
|
13
|
-
options.verbose ? prompt.ok(command).first : command
|
13
|
+
options.verbose && !self.is_a?(SecretsCli::Vault::Auth) ? prompt.ok(command).first : command
|
14
14
|
rescue => exception
|
15
15
|
# require 'pry'; binding.pry
|
16
16
|
error!(exception.message)
|
data/lib/secrets_cli/version.rb
CHANGED
data/secrets_cli.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['d4be4st@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = 'This is a CLI for easier use of https://www.vaultproject.io/'
|
13
|
-
spec.homepage = 'http://github.com/infinum
|
13
|
+
spec.homepage = 'http://github.com/infinum/secrets_cli'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
27
|
spec.require_paths = ['lib']
|
28
28
|
|
29
|
-
spec.add_development_dependency 'bundler'
|
30
|
-
spec.add_development_dependency 'rake'
|
29
|
+
spec.add_development_dependency 'bundler'
|
30
|
+
spec.add_development_dependency 'rake'
|
31
31
|
spec.add_development_dependency 'rspec'
|
32
32
|
spec.add_development_dependency 'pry'
|
33
33
|
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secrets_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stjepan Hadjic
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.7'
|
125
|
-
description:
|
125
|
+
description:
|
126
126
|
email:
|
127
127
|
- d4be4st@gmail.com
|
128
128
|
executables:
|
@@ -160,12 +160,12 @@ files:
|
|
160
160
|
- lib/secrets_cli/vault/read.rb
|
161
161
|
- lib/secrets_cli/version.rb
|
162
162
|
- secrets_cli.gemspec
|
163
|
-
homepage: http://github.com/infinum
|
163
|
+
homepage: http://github.com/infinum/secrets_cli
|
164
164
|
licenses:
|
165
165
|
- MIT
|
166
166
|
metadata:
|
167
167
|
allowed_push_host: https://rubygems.org
|
168
|
-
post_install_message:
|
168
|
+
post_install_message:
|
169
169
|
rdoc_options: []
|
170
170
|
require_paths:
|
171
171
|
- lib
|
@@ -180,9 +180,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
|
184
|
-
|
185
|
-
signing_key:
|
183
|
+
rubygems_version: 3.0.3
|
184
|
+
signing_key:
|
186
185
|
specification_version: 4
|
187
186
|
summary: This is a CLI for easier use of https://www.vaultproject.io/
|
188
187
|
test_files: []
|