rake_vault 0.1.0.pre.5 → 0.1.0.pre.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/lib/rake_vault/tasks/oidc_auth.rb +10 -1
- data/lib/rake_vault/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260c539594d7fa4dc45c02a950c7173879bbbb2c2ae90ac54d5caf82340a78bf
|
4
|
+
data.tar.gz: 5dd668fb52d38a48e16911218a57e36c327671ace3784cc5909f0b3b6a98b8c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17d1acd0a89fd8039e078cb46552578a2ed37594089a69d466b0fd46c6be4046018add997e1cb4ddd1424aca3af922ddd5af8bc55c96b4eaef84bae487c325ad
|
7
|
+
data.tar.gz: 64fc396dd4d2c4edc2a3e853d0cd4c91f25607ebbe8dba708fba5ec89f2251f21c0c19a117b1b4ed4a31ed81ad61bac3c46d46e1eeed8eaefb8b7b522d9d4479
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_vault (0.1.0.pre.
|
4
|
+
rake_vault (0.1.0.pre.6)
|
5
5
|
colored2 (~> 3.1)
|
6
6
|
rake_dependencies (~> 3.1)
|
7
7
|
rake_factory (~> 0.23)
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
sawyer (~> 0.9)
|
46
46
|
open4 (1.3.4)
|
47
47
|
parallel (1.22.1)
|
48
|
-
parser (3.1.2.
|
48
|
+
parser (3.1.2.1)
|
49
49
|
ast (~> 2.4.1)
|
50
50
|
public_suffix (4.0.7)
|
51
51
|
rainbow (3.1.1)
|
@@ -90,17 +90,17 @@ GEM
|
|
90
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
91
91
|
rspec-support (~> 3.11.0)
|
92
92
|
rspec-support (3.11.0)
|
93
|
-
rubocop (1.
|
93
|
+
rubocop (1.34.1)
|
94
94
|
json (~> 2.3)
|
95
95
|
parallel (~> 1.10)
|
96
|
-
parser (>= 3.1.
|
96
|
+
parser (>= 3.1.2.1)
|
97
97
|
rainbow (>= 2.2.2, < 4.0)
|
98
98
|
regexp_parser (>= 1.8, < 3.0)
|
99
99
|
rexml (>= 3.2.5, < 4.0)
|
100
|
-
rubocop-ast (>= 1.
|
100
|
+
rubocop-ast (>= 1.20.0, < 2.0)
|
101
101
|
ruby-progressbar (~> 1.7)
|
102
102
|
unicode-display_width (>= 1.4.0, < 3.0)
|
103
|
-
rubocop-ast (1.
|
103
|
+
rubocop-ast (1.21.0)
|
104
104
|
parser (>= 3.1.1.0)
|
105
105
|
rubocop-rake (0.6.0)
|
106
106
|
rubocop (~> 1.0)
|
@@ -7,8 +7,16 @@ module RakeVault
|
|
7
7
|
module Tasks
|
8
8
|
class OidcAuth < RakeFactory::Task
|
9
9
|
default_name :login
|
10
|
+
default_prerequisites(RakeFactory::DynamicValue.new do |t|
|
11
|
+
[t.ensure_task_name]
|
12
|
+
end)
|
13
|
+
default_description(RakeFactory::DynamicValue.new do |_t|
|
14
|
+
'Login with oidc using vault'
|
15
|
+
end)
|
10
16
|
parameter :role
|
11
17
|
parameter :address
|
18
|
+
parameter :ensure_task_name, default: :'vault:ensure'
|
19
|
+
parameter :no_print, default: false
|
12
20
|
|
13
21
|
action do |task|
|
14
22
|
auth = task.role ? ["role=#{task.role}"] : []
|
@@ -16,7 +24,8 @@ module RakeVault
|
|
16
24
|
RubyVault.login(
|
17
25
|
method: 'oidc',
|
18
26
|
auth: auth,
|
19
|
-
address: task.address
|
27
|
+
address: task.address,
|
28
|
+
no_print: task.no_print
|
20
29
|
)
|
21
30
|
end
|
22
31
|
end
|
data/lib/rake_vault/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|