rake_vault 0.1.0.pre.3 → 0.1.0.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rake_vault/tasks/oidc_auth.rb +5 -1
- data/lib/rake_vault/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d2c1a3d63cf0d1d69602fa47ad352eb5303349a112625d2d54f430d330bf72
|
4
|
+
data.tar.gz: 93ff7c7367592b14b12248bcb03f12ac0077b8983862d4fa0144f4522f615404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3f81913d9a0804e1d57a765214a0881a26d91c0efcd30c695015a2b948ad153419d6ffedc581120df2bdeb7eb5734dea571b8f510c00059cee681441cc1294d
|
7
|
+
data.tar.gz: 250581646708fbb6a322b7b5528984eb4049a1f6ef6a335357210ed2f2b5d22df3923f7868e5077984b91f00576280f1eca318967c9197bed6c909906cce3eab
|
data/Gemfile.lock
CHANGED
@@ -7,11 +7,15 @@ module RakeVault
|
|
7
7
|
class OidcAuth < RakeFactory::Task
|
8
8
|
default_name :login
|
9
9
|
parameter :role
|
10
|
+
parameter :address
|
10
11
|
|
11
12
|
action do |task|
|
13
|
+
auth = task.role ? ["role=#{task.role}"] : []
|
14
|
+
|
12
15
|
RubyVault.login(
|
13
16
|
method: 'oidc',
|
14
|
-
|
17
|
+
auth: auth,
|
18
|
+
address: task.address
|
15
19
|
)
|
16
20
|
end
|
17
21
|
end
|
data/lib/rake_vault/version.rb
CHANGED